提供新的路径

This commit is contained in:
aixianling
2022-05-30 15:31:51 +08:00
parent 70681c35b1
commit 0cc44e127c
2 changed files with 15 additions and 5 deletions

View File

@@ -36,7 +36,7 @@
}
},
"/online": {
"target": "https://test87xcxc.cunwuyun.cn",
"target": "http://192.168.1.34:19898",
"changeOrigin": true,
"pathRewrite": {
"^/online": "/"
@@ -57,11 +57,18 @@
"^/online/tmap/": "/"
}
},
"/grid": {
"target": "http://192.168.1.87:12307",
"/wangge": {
"target": "http://192.168.1.34:10000/",
"changeOrigin": true,
"pathRewrite": {
"^/grid": "/"
"^/wangge": "/"
}
},
"/hnjc": {
"target": "http://192.168.1.87:12001/",
"changeOrigin": true,
"pathRewrite": {
"^/hnjc": "/"
}
}
}