From 862b6cf69dc925a6138a7ebf79b782a5d7791202 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 03 一月 2020 12:13:52 +0800 Subject: [PATCH] 2020-01-03 --- src/setupProxy.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/setupProxy.js b/src/setupProxy.js index 8e6ff05..5c34ad2 100644 --- a/src/setupProxy.js +++ b/src/setupProxy.js @@ -21,6 +21,15 @@ } })) + app.use(proxy('/Upload', { // 鐧诲綍鎺ュ彛 + target: `http://qingqiumarket.cn/${service}/zh-CN/Home/Upload`, + secure: false, + changeOrigin: true, + pathRewrite: { + '^/Upload': '/' + } + })) + app.use(proxy('/local', { target: 'http://127.0.0.1:8888', secure: false, -- Gitblit v1.8.0