增加慧治理代理

This commit is contained in:
aixianling
2023-02-28 15:09:31 +08:00
parent 282dc52148
commit c8ee9ca6cf
2 changed files with 9 additions and 0 deletions

View File

@@ -113,6 +113,13 @@
"pathRewrite": { "pathRewrite": {
"^/tr": "/" "^/tr": "/"
} }
},
"/hzl": {
"target": "http://192.168.1.87:39000/",
"changeOrigin": true,
"pathRewrite": {
"^/hzl": "/"
}
} }
} }
}, },

View File

@@ -75,6 +75,8 @@ export default {
module = 'online' module = 'online'
} else if (/\/project\/xincheng\//.test(libPath)) { } else if (/\/project\/xincheng\//.test(libPath)) {
module = 'xaxc' module = 'xaxc'
} else if (/\/project\/huizhili\//.test(libPath)) {
module = 'hzl'
} else if (/\/project\/qianxinan\//.test(libPath)) { } else if (/\/project\/qianxinan\//.test(libPath)) {
module = 'qxn' module = 'qxn'
} else if (/\/project\/tongren\//.test(libPath)) { } else if (/\/project\/tongren\//.test(libPath)) {