Compare commits

..

No commits in common. "3de4a8f9d08847206ad22e789b7efc4ce79ad372" and "03790f6d1a41a2024a4857da53373d6996dd1258" have entirely different histories.

2 changed files with 0 additions and 6 deletions

View File

@ -76,10 +76,6 @@ export function getEnvConfig(match = 'VITE_GLOB_', confFiles = getConfFiles()) {
});
const reg = new RegExp(`^(${match})`);
Object.keys(envConfig).forEach((key) => {
if(key == 'VITE_PUBLIC_PATH') {//VITE_PUBLIC_PATH
return;
}
if (!reg.test(key)) {
Reflect.deleteProperty(envConfig, key);
}

View File

@ -33,7 +33,6 @@ export function getAppEnvConfig() {
VITE_GLOB_APP_CAS_BASE_URL,
VITE_GLOB_DOMAIN_URL,
VITE_GLOB_ONLINE_VIEW_URL,
VITE_PUBLIC_PATH,
} = ENV;
if (!/^[a-zA-Z\_]*$/.test(VITE_GLOB_APP_SHORT_NAME)) {
@ -53,7 +52,6 @@ export function getAppEnvConfig() {
VITE_GLOB_APP_CAS_BASE_URL,
VITE_GLOB_DOMAIN_URL,
VITE_GLOB_ONLINE_VIEW_URL,
VITE_PUBLIC_PATH,
};
}