![](/img/trans.png)
[英]Set-Cookie in response header is not saved into browser cookie storage
[英]set-cookie field is present, however is not set in Resources/Application tab of the browser
閱讀以下文章, 尤其是本節后,請先弄清楚。 對Mozilla員工表示敬意!
在節點一側,我添加了:
res.header('Access-Control-Allow-Credentials', 'true');
在axios.pos中,我在配置部分添加了以下key:value對:
{withCredentials: true}
干杯
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.