Commit 961a8a7f authored by caicaicai's avatar caicaicai

修改

parent e70097de
...@@ -2,10 +2,10 @@ ENV = 'development' ...@@ -2,10 +2,10 @@ ENV = 'development'
# 接口地址 # 接口地址
#VUE_APP_BASE_API = 'http://localhost:8000' #VUE_APP_BASE_API = 'http://localhost:8000'
VUE_APP_BASE_API = 'http://8.143.203.103:9090' VUE_APP_BASE_API = 'http://192.168.0.110:8001'
VUE_APP_WS_API = 'ws://192.168.0.111:8001/webSocket' VUE_APP_WS_API = 'ws://192.168.0.111:8001/webSocket'
VUE_APP_LOCAL_API = 'http://8.143.203.103:9090' VUE_APP_LOCAL_API = 'http://192.168.0.110:8001'
VUE_APP_LOCAL_API2 = 'http://8.143.203.103:9090' VUE_APP_LOCAL_API2 = 'http://192.168.0.110:8001'
# 是否启用 babel-plugin-dynamic-import-node插件 # 是否启用 babel-plugin-dynamic-import-node插件
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true
...@@ -4,7 +4,7 @@ ENV = 'production' ...@@ -4,7 +4,7 @@ ENV = 'production'
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
VUE_APP_BASE_API = 'https://el-admin.xin' VUE_APP_BASE_API = 'https://el-admin.xin'
# 如果接口是 http 形式, wss 需要改为 ws # 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_WS_API = 'ws://192.168.0.111:8001/webSocket' VUE_APP_WS_API = 'ws://8.143.203.103:9090/webSocket'
VUE_APP_LOCAL_API = 'http://8.143.203.103:9090' VUE_APP_LOCAL_API = 'http://8.143.203.103:9090'
VUE_APP_LOCAL_API2 = 'http://8.143.203.103:9090' VUE_APP_LOCAL_API2 = 'http://8.143.203.103:9090'
...@@ -50,7 +50,8 @@ module.exports = { ...@@ -50,7 +50,8 @@ module.exports = {
'/dianziweilan': { '/dianziweilan': {
target: process.env.VUE_APP_BASE_API, target: process.env.VUE_APP_BASE_API,
}, },
} },
//https: true,
}, },
configureWebpack: { configureWebpack: {
output: { output: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment