修改 order 模块端口号为 88
parent
bb16a3e672
commit
702a16ac70
|
@ -15,7 +15,7 @@ export default {
|
|||
},
|
||||
'/order-api/': {
|
||||
// target: 'http://180.167.213.26:18084/',
|
||||
target: 'http://127.0.0.1:18084/',
|
||||
target: 'http://127.0.0.1:18088/',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {},
|
||||
},
|
||||
|
|
|
@ -2,11 +2,24 @@
|
|||
|
||||
export default {
|
||||
'/admin-api/': {
|
||||
target: 'http://180.167.213.26:18083/',
|
||||
target: 'http://api.shop.iocoder.cn:18099/admin-api',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/admin-api': `/admin-web/admin-api`,
|
||||
},
|
||||
pathRewrite: {},
|
||||
},
|
||||
'/order-api/': {
|
||||
target: 'http://api.shop.iocoder.cn:18099/order-api',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {},
|
||||
},
|
||||
'/pay-api/': {
|
||||
target: 'http://api.shop.iocoder.cn:18099/pay-api',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {},
|
||||
},
|
||||
'/user-api/': {
|
||||
target: 'http://api.shop.iocoder.cn:18099/user-api',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {},
|
||||
},
|
||||
'/server/api/': {
|
||||
target: 'https://preview.pro.ant.design/',
|
||||
|
|
Loading…
Reference in New Issue