From 4adb5ef679edab63ec418436f29b5e4b8a9260b4 Mon Sep 17 00:00:00 2001 From: sin-ning Date: Tue, 14 Apr 2020 14:24:33 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9=EF=BC=9A=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E7=AB=AF=E5=8F=A3=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/config/proxy/proxy.prod.js | 12 ++++++------ admin-web/config/server/config/proxy.prod.config.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/admin-web/config/proxy/proxy.prod.js b/admin-web/config/proxy/proxy.prod.js index 7197b139e..a9f626091 100644 --- a/admin-web/config/proxy/proxy.prod.js +++ b/admin-web/config/proxy/proxy.prod.js @@ -2,32 +2,32 @@ module.exports = { '/admin-api/': { - target: 'http://api.shop.iocoder.cn:18099', + target: 'http://api.shop.iocoder.cn', changeOrigin: true, pathRewrite: {}, }, '/product-api/': { - target: 'http://api.shop.iocoder.cn:18099', + target: 'http://api.shop.iocoder.cn', changeOrigin: true, pathRewrite: {}, }, '/order-api/': { - target: 'http://api.shop.iocoder.cn:18099', + target: 'http://api.shop.iocoder.cn', changeOrigin: true, pathRewrite: {}, }, '/promotion-api/': { - target: 'http://api.shop.iocoder.cn:18099', + target: 'http://api.shop.iocoder.cn', changeOrigin: true, pathRewrite: {}, }, '/pay-api/': { - target: 'http://api.shop.iocoder.cn:18099', + target: 'http://api.shop.iocoder.cn', changeOrigin: true, pathRewrite: {}, }, '/user-api/': { - target: 'http://api.shop.iocoder.cn:18099', + target: 'http://api.shop.iocoder.cn', changeOrigin: true, pathRewrite: {}, }, diff --git a/admin-web/config/server/config/proxy.prod.config.js b/admin-web/config/server/config/proxy.prod.config.js index 5e76ba9e3..a9f626091 100644 --- a/admin-web/config/server/config/proxy.prod.config.js +++ b/admin-web/config/server/config/proxy.prod.config.js @@ -2,7 +2,7 @@ module.exports = { '/admin-api/': { - target: 'http://api.shop.iocoder.cn:18099', + target: 'http://api.shop.iocoder.cn', changeOrigin: true, pathRewrite: {}, },