Rename global variables
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import AppNames from "./grab-app-names";
|
||||
|
||||
export default function grabAssetsPrefix() {
|
||||
if (global.CONFIG.assets_prefix) {
|
||||
return global.CONFIG.assets_prefix;
|
||||
if (global.BUNEXT_CONFIG.assets_prefix) {
|
||||
return global.BUNEXT_CONFIG.assets_prefix;
|
||||
}
|
||||
|
||||
const { defaultAssetPrefix } = AppNames;
|
||||
|
||||
Reference in New Issue
Block a user