build(projects): 代码优化

ISSUES CLOSED: \
This commit is contained in:
Soybean
2022-06-02 00:02:00 +08:00
parent c7762490de
commit de09f82586
5 changed files with 347 additions and 234 deletions

View File

@ -1,5 +1,5 @@
import { createRequest } from './request';
import { getEnvConfig } from '~/.env-config';
import { createRequest } from './request';
const envConfig = getEnvConfig(import.meta.env);
const isHttpProxy = import.meta.env.VITE_HTTP_PROXY === 'true';