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

15 lines
301 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/',
changeOrigin: true,
pathRewrite: {},
},
'/server/api/': {
target: 'https://preview.pro.ant.design/',
changeOrigin: true,
pathRewrite: { '^/server': '' },
},
};