no message
parent
65dfc4ae58
commit
46125205e6
|
|
@ -1,11 +1,11 @@
|
||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
|
|
||||||
# 接口地址
|
# 接口地址
|
||||||
VUE_APP_BASE_API = 'http://localhost:8000'
|
VUE_APP_BASE_API = 'http://localhost:8010'
|
||||||
VUE_APP_WS_API = 'ws://localhost:8000'
|
VUE_APP_WS_API = 'ws://localhost:8010'
|
||||||
|
|
||||||
#VUE_APP_BASE_API = 'http://47.100.54.81:8000'
|
#VUE_APP_BASE_API = 'http://101.37.151.105:8000'
|
||||||
#VUE_APP_WS_API = 'ws://47.100.54.81:8000'
|
#VUE_APP_WS_API = 'ws://101.37.151.105:8000'
|
||||||
|
|
||||||
# 是否启用 babel-plugin-dynamic-import-node插件
|
# 是否启用 babel-plugin-dynamic-import-node插件
|
||||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@ ENV = 'production'
|
||||||
|
|
||||||
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
|
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
|
||||||
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
|
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
|
||||||
VUE_APP_BASE_API = 'http://localhost:8000'
|
VUE_APP_BASE_API = 'http://localhost:8010'
|
||||||
# 如果接口是 http 形式, wss 需要改为 ws
|
# 如果接口是 http 形式, wss 需要改为 ws
|
||||||
VUE_APP_WS_API = 'wss://localhost:8000'
|
VUE_APP_WS_API = 'wss://localhost:8010'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue