增加环境变量VITE_OUT_URL
This commit is contained in:
@@ -17,6 +17,7 @@ export const useGlobSetting = (): Readonly<GlobConfig> => {
|
||||
VITE_GLOB_ONLINE_VIEW_URL,
|
||||
VITE_GLOB_ST_DOMAIN_URL,
|
||||
VITE_PLATFORM,
|
||||
VITE_OUT_URL,
|
||||
} = getAppEnvConfig();
|
||||
|
||||
if (!/[a-zA-Z\_]*/.test(VITE_GLOB_APP_SHORT_NAME)) {
|
||||
@@ -40,6 +41,7 @@ export const useGlobSetting = (): Readonly<GlobConfig> => {
|
||||
viewUrl: VITE_GLOB_ONLINE_VIEW_URL,
|
||||
stDomainUrl: VITE_GLOB_ST_DOMAIN_URL,
|
||||
vitePlatform: VITE_PLATFORM,
|
||||
viteOutUrl: VITE_OUT_URL,
|
||||
};
|
||||
window._CONFIG['domianURL'] = VITE_GLOB_DOMAIN_URL;
|
||||
return glob as Readonly<GlobConfig>;
|
||||
|
||||
Reference in New Issue
Block a user