修改配置文件可

This commit is contained in:
sin 2019-05-09 14:27:20 +08:00
parent 9019717451
commit 21dbd7b8cb
2 changed files with 12 additions and 12 deletions

View File

@ -2,32 +2,32 @@
module.exports = {
'/admin-api/': {
target: 'http://api.shop.iocoder.cn:18099/admin-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/product-api/': {
target: 'http://api.shop.iocoder.cn:18099/product-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/order-api/': {
target: 'http://api.shop.iocoder.cn:18099/order-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/promotion-api/': {
target: 'http://api.shop.iocoder.cn:18099/promotion-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/pay-api/': {
target: 'http://api.shop.iocoder.cn:18099/pay-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/user-api/': {
target: 'http://api.shop.iocoder.cn:18099/user-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},

View File

@ -2,32 +2,32 @@
module.exports = {
'/admin-api/': {
target: 'http://api.shop.iocoder.cn:18099/admin-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/product-api/': {
target: 'http://api.shop.iocoder.cn:18099/product-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/order-api/': {
target: 'http://api.shop.iocoder.cn:18099/order-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/promotion-api/': {
target: 'http://api.shop.iocoder.cn:18099/promotion-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/pay-api/': {
target: 'http://api.shop.iocoder.cn:18099/pay-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},
'/user-api/': {
target: 'http://api.shop.iocoder.cn:18099/user-api',
target: 'http://api.shop.iocoder.cn:18099',
changeOrigin: true,
pathRewrite: {},
},