problem description
vue project needs to pass cookie
the local localhost is set to http://a.xxx.com (the domain name of the project deployment)
proxy is set:
proxyTable: {
"/apis": {
target: "http://b.xxx.com/", //
changeOrigin: true, //
pathRewrite: {
"^/apis": "" //rewrite,
}
}
},
how to bring cookie? when requesting