ludu-cloud/admin-web/config/proxy/proxy.prod.js
YunaiV 059dbc6c79 1. 引入 Spring Cloud Sentinel,后续做进一步集成
2. 重新搭建 Elasticsearch 服务,并接入 search 服务
2020-04-14 20:10:40 +08:00

40 lines
852 B
Java

// production 配置文件
module.exports = {
'/admin-api/': {
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/product-api/': {
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/order-api/': {
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/promotion-api/': {
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/pay-api/': {
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/user-api/': {
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/server/api/': {
target: 'https://preview.pro.ant.design/',
changeOrigin: true,
pathRewrite: { '^/server': '' },
},
};