From 2488ddef2ef35f25b3fb11650c631080b36c5366 Mon Sep 17 00:00:00 2001 From: liuye Date: Sun, 28 Apr 2024 14:10:16 +0800 Subject: [PATCH] =?UTF-8?q?url=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.json | 4 ++-- src/pages/login.vue | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index 7a717db8..43473097 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -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": "/" diff --git a/src/pages/login.vue b/src/pages/login.vue index 0ef3ee03..3b2f1344 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -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})