url测试
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
"open": true,
|
"open": true,
|
||||||
"proxy": {
|
"proxy": {
|
||||||
"/lan": {
|
"/lan": {
|
||||||
"target": "http://192.168.1.87:9000",
|
"target": "https://szxcweb.icunwei.com",
|
||||||
"changeOrigin": true,
|
"changeOrigin": true,
|
||||||
"pathRewrite": {
|
"pathRewrite": {
|
||||||
"^/lan": "/"
|
"^/lan": "/"
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/baidu": {
|
"/baidu": {
|
||||||
"target": "https://szxcweb.icunwei.com",
|
"target": "http://192.168.1.87:9000",
|
||||||
"changeOrigin": true,
|
"changeOrigin": true,
|
||||||
"pathRewrite": {
|
"pathRewrite": {
|
||||||
"^/baidu": "/"
|
"^/baidu": "/"
|
||||||
|
|||||||
@@ -86,8 +86,6 @@ export default {
|
|||||||
module = 'wangge'
|
module = 'wangge'
|
||||||
}else if (/\/project\/activeAnalysis\//.test(libPath)) {
|
}else if (/\/project\/activeAnalysis\//.test(libPath)) {
|
||||||
module = 'yyhd'
|
module = 'yyhd'
|
||||||
}else if (/\/project\/baidu\//.test(libPath)) {
|
|
||||||
module = 'baidu'
|
|
||||||
}
|
}
|
||||||
this.setModule(module)
|
this.setModule(module)
|
||||||
return Promise.resolve({corpId, module})
|
return Promise.resolve({corpId, module})
|
||||||
|
|||||||
Reference in New Issue
Block a user