mod:调整环境配置文件

This commit is contained in:
zhangchuanlong
2022-02-09 17:46:25 +08:00
parent 823d718d7b
commit dd0c8a86c4
8 changed files with 18 additions and 32 deletions

View File

@@ -1,18 +1,14 @@
NODE_ENV = 'development'
ENV = 'development'
# 资源公共路径,需要以 /开头和结尾
VITE_PUBLIC_PATH = '/'
# 是否使用MOCK
# 是否用MOCK
VITE_APP_USE_MOCK = true
# proxy
VITE_PROXY = [["/api","http://localhost:8080"],["/api-test","localhost:8080"]]
# base api
# VITE_APP_GLOB_BASE_API = '/api'
VITE_APP_GLOB_BASE_API = '/api-mock'
VITE_APP_GLOB_BASE_API = '/api'
# test base api
VITE_APP_GLOB_BASE_API_TEST = '/api-test'