webpack proxy 两个接口有效,一个不生效,什么原因?
proxy: {
'/mtc': {
target: 'http://moceek.sanekai.com',
changeOrigin: true
},
'/mtc-athena': {
target: 'http://moceek.sanekai.com',
changeOrigin: true
},
// 下面这个配置不生效,上面两个生效
'/mtc-funds': {
target: 'http://moceek.sanekai.com/mtc/mtc-funds',
changeOrigin: true
}
}