- 修改:去掉端口号

This commit is contained in:
sin-ning 2020-04-14 14:24:33 +08:00
parent 099d2b45e5
commit 4adb5ef679
2 changed files with 7 additions and 7 deletions

View File

@ -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: {},
},

View File

@ -2,7 +2,7 @@
module.exports = {
'/admin-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},