From cd9d121993cb63efd9495afcc5356cd5d7780d5d Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Thu, 9 May 2019 00:10:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=20es5=20=E8=AF=AD?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/config/proxy/proxy.dev.js | 2 +- admin-web/config/proxy/proxy.prod.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-web/config/proxy/proxy.dev.js b/admin-web/config/proxy/proxy.dev.js index 9f7a52d6f..e98ea1cc8 100644 --- a/admin-web/config/proxy/proxy.dev.js +++ b/admin-web/config/proxy/proxy.dev.js @@ -1,6 +1,6 @@ // 开发环境,的代理配置 -export default { +module.exports = { '/admin-api/': { target: 'http://127.0.0.1:18083/', // target: 'http://180.167.213.26:18083/', diff --git a/admin-web/config/proxy/proxy.prod.js b/admin-web/config/proxy/proxy.prod.js index a8d5977a2..14f7cc78e 100644 --- a/admin-web/config/proxy/proxy.prod.js +++ b/admin-web/config/proxy/proxy.prod.js @@ -1,6 +1,6 @@ // production 配置文件 -export default { +module.exports = { '/admin-api/': { target: 'http://api.shop.iocoder.cn:18099/admin-api', changeOrigin: true,