ludu-cloud/admin-web/config/proxy/proxy.prod.js

30 lines
683 B
JavaScript
Raw Normal View History

2019-03-10 16:40:16 +08:00
// production 配置文件
export default {
'/admin-api/': {
2019-04-09 21:08:20 +08:00
target: 'http://api.shop.iocoder.cn:18099/admin-api',
2019-03-10 16:40:16 +08:00
changeOrigin: true,
2019-04-09 21:08:20 +08:00
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: {},
2019-03-10 16:40:16 +08:00
},
'/server/api/': {
target: 'https://preview.pro.ant.design/',
changeOrigin: true,
pathRewrite: { '^/server': '' },
},
};