From b9a0e8541f0959db5d848f7b893c8838851ce411 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 09 四月 2020 13:29:49 +0800 Subject: [PATCH] 2020-04-09 --- src/setupProxy.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/setupProxy.js b/src/setupProxy.js index 4e1eb1e..a14f43b 100644 --- a/src/setupProxy.js +++ b/src/setupProxy.js @@ -24,7 +24,7 @@ } })) - app.use(proxy('/Upload', { // 鐧诲綍鎺ュ彛 + app.use(proxy('/Upload', { target: `${host}/${service}zh-CN/Home/Upload`, secure: false, changeOrigin: true, @@ -33,12 +33,12 @@ } })) - app.use(proxy('/local', { - target: 'http://127.0.0.1:8888', - secure: false, - changeOrigin: true, - pathRewrite: { - '^/local': '/' - } - })) + // app.use(proxy('/local', { + // target: 'http://127.0.0.1:8888', + // secure: false, + // changeOrigin: true, + // pathRewrite: { + // '^/local': '/' + // } + // })) } \ No newline at end of file -- Gitblit v1.8.0