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

17 lines
344 B
JavaScript
Raw Normal View History

2019-03-10 16:40:16 +08:00
// production 配置文件
export default {
'/admin-api/': {
target: 'http://180.167.213.26:18083/',
changeOrigin: true,
pathRewrite: {
'^/admin-api': `/admin-web/admin-api`,
},
},
'/server/api/': {
target: 'https://preview.pro.ant.design/',
changeOrigin: true,
pathRewrite: { '^/server': '' },
},
};