修改配置文件可

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

View File

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