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

21 lines
430 B
JavaScript
Raw Normal View History

2019-03-10 16:40:16 +08:00
// 开发环境,的代理配置
export default {
'/admin-api/': {
// target: 'http://180.167.213.26:18083/',
target: 'http://127.0.0.1:18083/',
2019-03-10 16:40:16 +08:00
changeOrigin: true,
pathRewrite: {},
},
2019-03-24 16:55:52 +08:00
'/order-api/': {
target: 'http://127.0.0.1:18084/',
2019-03-10 16:40:16 +08:00
changeOrigin: true,
2019-03-24 16:55:52 +08:00
pathRewrite: {},
2019-03-10 16:40:16 +08:00
},
'/promotion-api/': {
target: 'http://127.0.0.1:18085/',
changeOrigin: true,
pathRewrite: {},
},
2019-03-10 16:40:16 +08:00
};