From 1ebc7492fa85c0a9b403b9662e531f7507af2c07 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Wed, 6 Mar 2019 20:24:14 +0800 Subject: [PATCH] =?UTF-8?q?admin-api=20=E4=BC=A0=E7=BB=99=E5=90=8E?= =?UTF-8?q?=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/config/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-web/config/config.js b/admin-web/config/config.js index 8f0edba44..bbf147278 100644 --- a/admin-web/config/config.js +++ b/admin-web/config/config.js @@ -83,7 +83,7 @@ export default { '/admin-api/': { target: 'http://180.167.213.26:18083/', changeOrigin: true, - pathRewrite: { '^/admin-api': '' }, + pathRewrite: {}, }, '/server/api/': { target: 'https://preview.pro.ant.design/',