url测试

This commit is contained in:
liuye
2024-04-28 14:10:16 +08:00
parent c3eba7fe49
commit 2488ddef2e
2 changed files with 2 additions and 4 deletions

View File

@@ -29,7 +29,7 @@
"open": true,
"proxy": {
"/lan": {
"target": "http://192.168.1.87:9000",
"target": "https://szxcweb.icunwei.com",
"changeOrigin": true,
"pathRewrite": {
"^/lan": "/"
@@ -122,7 +122,7 @@
}
},
"/baidu": {
"target": "https://szxcweb.icunwei.com",
"target": "http://192.168.1.87:9000",
"changeOrigin": true,
"pathRewrite": {
"^/baidu": "/"

View File

@@ -86,8 +86,6 @@ export default {
module = 'wangge'
}else if (/\/project\/activeAnalysis\//.test(libPath)) {
module = 'yyhd'
}else if (/\/project\/baidu\//.test(libPath)) {
module = 'baidu'
}
this.setModule(module)
return Promise.resolve({corpId, module})