This commit is contained in:
2026-09-12 16:22:13 +08:00
parent 8c67b1ba51
commit f01734490f
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -5,5 +5,6 @@
export const getConfigFileName = (env: Record<string, any>) => {
return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__`
.toUpperCase()
.replace(/\s/g, '');
.replace(/\s/g, '')
.replace(/[^A-Z0-9_]/g, '_');
};