修改配置文件可
This commit is contained in:
parent
9019717451
commit
21dbd7b8cb
@ -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: {},
|
||||||
},
|
},
|
||||||
|
@ -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: {},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user