proxyTable: {
'/tangyuhui/api/wechat': {
target: 'http://127.0.0.1:3000',
secure: false,
pathRewrite: {
'^/tangyuhui/api': ''
}
},
'/qlogo':{
target: 'http://thirdwx.qlogo.cn',
secure: false,
pathRewrite: {
'^/qlogo': ''
}
}
}
webpack跨域proxyTable配置
猜你喜欢
转载自blog.csdn.net/weixin_37221852/article/details/82773787
今日推荐
周排行