This commit is contained in:
DESKTOP-H2PAFLR\Administrator
2023-08-16 09:51:28 +08:00
parent 6f79a94316
commit 8a28305ffc
13 changed files with 671 additions and 40 deletions

View File

@@ -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: {