设置代理
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/proxyApi': {
target: 'https://localhost:18081',
changeOrigin: true,
pathRewrite: {
'^/proxyApi': '/'
},
changeOrigin: true,
secure: false,
headers: {
Referer: 'https://localhost:18081'
}
}
},