proxy: {
'/api': {
target: 'http://localhost'
changeOrigin: true,
cookiePathRewrite: {
'*': 'http://localhost:8080'
},
cookieDomainRewrite: {
'*': 'localhost:8080'
},
pathRewrite: {
['^']: ''
}
}
}
vue代理不同cookie域配置
最新推荐文章于 2024-05-06 18:30:28 发布