---修改开发环境配置
This commit is contained in:
@ -10,7 +10,8 @@ VITE_PUBLIC_PATH = /
|
|||||||
# 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题
|
# 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题
|
||||||
# 可以有多个,注意多个不能换行,否则代理将会失效
|
# 可以有多个,注意多个不能换行,否则代理将会失效
|
||||||
#VITE_PROXY = [["/api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
|
#VITE_PROXY = [["/api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
|
||||||
VITE_PROXY=[["/api","http://47.94.165.164:9500"]]
|
#VITE_PROXY=[["/api","http://47.94.165.164:9500"]]
|
||||||
|
VITE_PROXY=[["/api","http://127.0.0.1:8090"]]
|
||||||
|
|
||||||
# 是否删除Console.log
|
# 是否删除Console.log
|
||||||
VITE_DROP_CONSOLE = false
|
VITE_DROP_CONSOLE = false
|
||||||
|
|||||||
@ -15,4 +15,4 @@ VOLUME ["/etc/nginx/nginx.conf", "/usr/share/nginx/html"]
|
|||||||
|
|
||||||
CMD ["nginx","-g","daemon off;"]
|
CMD ["nginx","-g","daemon off;"]
|
||||||
|
|
||||||
# docker build -t itc-web:1.0.0 .
|
# docker build -t docker.ges.bjgastx.com/itc-web:1.0.0 .
|
||||||
|
|||||||
Reference in New Issue
Block a user