This commit is contained in:
parent
8859d8ab65
commit
b1326ff2c0
|
@ -3,11 +3,11 @@ ENV = 'development'
|
||||||
# http://192.168.1.43:8324/admin
|
# http://192.168.1.43:8324/admin
|
||||||
# http://mer.crmeb.net/admin
|
# http://mer.crmeb.net/admin
|
||||||
# base api
|
# base api
|
||||||
VUE_APP_BASE_API = 'http://192.168.1.32:8080'
|
VUE_APP_BASE_API = 'http://192.168.1.224:8324'
|
||||||
# VUE_APP_BASE_API = 'https://plus.hwms.shop'
|
# VUE_APP_BASE_API = 'https://plus.hwms.shop'
|
||||||
|
|
||||||
# socket 连接地址
|
# socket 连接地址
|
||||||
VUE_APP_WS_URL = 'ws://192.168.1.32:8080'
|
VUE_APP_WS_URL = 'ws://192.168.1.224:8324'
|
||||||
# VUE_APP_WS_URL = 'ws://plus.hwms.shop'
|
# VUE_APP_WS_URL = 'ws://plus.hwms.shop'
|
||||||
|
|
||||||
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
|
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
|
||||||
|
|
|
@ -38,13 +38,13 @@ module.exports = {
|
||||||
errors: true
|
errors: true
|
||||||
},
|
},
|
||||||
before: require('./mock/mock-server.js')
|
before: require('./mock/mock-server.js')
|
||||||
// proxy: {
|
proxy: {
|
||||||
// '/api': { //接口地址 以 api开头的都走下面的配置
|
'/api': { //接口地址 以 api开头的都走下面的配置
|
||||||
// target: 'http://192.168.1.224:8324', //代理目标地址为后端服务器地址
|
target: 'http://192.168.1.224:8324', //代理目标地址为后端服务器地址
|
||||||
// ws: true, //是否支持 websocket 请求 支持
|
ws: true, //是否支持 websocket 请求 支持
|
||||||
// changeOrigin: true, //是否启用跨域
|
changeOrigin: true, //是否启用跨域
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
// provide the app's title in webpack's name field, so that
|
// provide the app's title in webpack's name field, so that
|
||||||
|
|
Loading…
Reference in New Issue