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配置
最新推荐文章于 2024-05-27 08:00:00 发布