refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-07-10 00:41:35 +08:00
parent da407b6653
commit b60db89801
17 changed files with 31 additions and 34 deletions

View File

@ -8,7 +8,7 @@ export default defineConfig(configEnv => {
const rootPath = getRootPath();
const srcPath = getSrcPath();
const isOpenProxy = viteEnv.VITE_HTTP_PROXY === 'true';
const isOpenProxy = viteEnv.VITE_HTTP_PROXY === '1';
const envConfig = getEnvConfig(viteEnv);
return {