- 修改:去掉端口号

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 = { module.exports = {
'/admin-api/': { '/admin-api/': {
target: 'http://api.shop.iocoder.cn:18099', target: 'http://api.shop.iocoder.cn',
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
}, },
'/product-api/': { '/product-api/': {
target: 'http://api.shop.iocoder.cn:18099', target: 'http://api.shop.iocoder.cn',
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
}, },
'/order-api/': { '/order-api/': {
target: 'http://api.shop.iocoder.cn:18099', target: 'http://api.shop.iocoder.cn',
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
}, },
'/promotion-api/': { '/promotion-api/': {
target: 'http://api.shop.iocoder.cn:18099', target: 'http://api.shop.iocoder.cn',
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
}, },
'/pay-api/': { '/pay-api/': {
target: 'http://api.shop.iocoder.cn:18099', target: 'http://api.shop.iocoder.cn',
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
}, },
'/user-api/': { '/user-api/': {
target: 'http://api.shop.iocoder.cn:18099', target: 'http://api.shop.iocoder.cn',
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
}, },

View File

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