This commit is contained in:
xxm
2022-09-23 16:09:15 +08:00
commit d685e22e0d
830 changed files with 82891 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
/**
* Get the configuration file variable name
* @param env
*/
export const getConfigFileName = (env: Record<string, any>) => {
return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__`
.toUpperCase()
.replace(/\s/g, '');
};