|
@@ -86,20 +86,14 @@ module.exports = {
|
|
|
},
|
|
|
|
|
|
devServer: {
|
|
|
+ // development server port 8000
|
|
|
+ port: 8000,
|
|
|
proxy: {
|
|
|
'/api': {
|
|
|
// target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
|
|
|
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro',
|
|
|
ws: false,
|
|
|
changeOrigin: true
|
|
|
- },
|
|
|
- '/gateway': {
|
|
|
- target: 'https://www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d/antd-pro',
|
|
|
- ws: false,
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- '^/gateway': '/api'
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
},
|