chore: env 改为 T3
This commit is contained in:
@@ -6,16 +6,13 @@ VITE_PUBLIC_PATH = /
|
||||
|
||||
|
||||
# 跨域代理,您可以配置多个 ,请注意,没有换行符
|
||||
# 徐云迪 - 本地环境
|
||||
#VITE_PROXY = [["/ccag-gateway","http://172.16.0.20:9018/ccag-gateway"],["/upload","http://172.16.0.20:9018/upload"],["/simulation","http://192.168.65.54:9911/sim"]]
|
||||
# 172.16.0.20 - 服务器环境 (不再使用)
|
||||
#VITE_PROXY = [["/ccag-gateway","http://172.16.0.20:9998/ccag-gateway"],["/upload","http://172.16.0.20:9998/upload"],["/simulation","http://172.16.0.20:9998/ccag-gateway/sim"]]
|
||||
# 172.16.0.20 - 服务器环境 T2
|
||||
VITE_PROXY = [["/ccag-gateway","http://172.16.0.20:9018/ccag-gateway"],["/upload","http://172.16.0.20:9018/upload"],["/simulation","http://172.16.0.20:9018/ccag-gateway/sim"]]
|
||||
|
||||
# 20服务器环境 T3 公网地址
|
||||
VITE_PROXY = [["/ccag-gateway","http://123.123.104.68:18082/ccag-gateway"],["/upload","http://123.123.104.68:18088/ccag-gateway/tvs-file"],["/simulation","http://123.123.104.68:18082/ccag-gateway/sim"]]
|
||||
|
||||
|
||||
#后台接口全路径地址(必填)
|
||||
VITE_GLOB_DOMAIN_URL= http://172.16.0.20:9018/ccag-gateway
|
||||
VITE_GLOB_DOMAIN_URL= http://123.123.104.68:18087/ccag-gateway
|
||||
|
||||
#后台接口父地址(必填)
|
||||
VITE_GLOB_API_URL=/ccag-gateway
|
||||
|
||||
@@ -108,6 +108,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
__APP_INFO__: JSON.stringify(__APP_INFO__),
|
||||
},
|
||||
css: {
|
||||
devSourcemap: true,
|
||||
preprocessorOptions: {
|
||||
less: {
|
||||
modifyVars: {
|
||||
|
||||
Reference in New Issue
Block a user