This commit is contained in:
2026-09-12 16:41:18 +08:00
parent fb7c17b66d
commit 6b49f2fd8f
+1 -2
View File
@@ -5,6 +5,5 @@
export const getConfigFileName = (env: Record<string, any>) => { export const getConfigFileName = (env: Record<string, any>) => {
return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__` return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__`
.toUpperCase() .toUpperCase()
.replace(/\s/g, '') .replace(/\s/g, '');
.replace(/[^A-Z0-9_]/g, '_');
}; };