昨天
This commit is contained in:
@@ -39,14 +39,14 @@ module.exports = {
|
||||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
target: 'http://localhost:8888/', // 后端接口地址
|
||||
target: 'http://192.168.1.30:8888/', // 后端接口地址
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: '' //需要rewrite的
|
||||
}
|
||||
},
|
||||
"msgHub": {
|
||||
target: 'http://localhost:8888/msgHub',
|
||||
target: 'http://192.168.1.30/msgHub',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user