- 修改:去掉端口号
This commit is contained in:
parent
099d2b45e5
commit
4adb5ef679
@ -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: {},
|
||||||
},
|
},
|
||||||
|
@ -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: {},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user