NuxtN
Nuxt2y ago
AzotoN1

Nuxt3 - Cookies deleted after page reload

I own a project with ssr true. When logging into the site, a token is stored in cookies with useCookie. When we are logged in, it takes us to the home page and the cookie is saved correctly. Then we refresh the page e.g. via F5 key then the cookie is deleted and I have no idea why. As I used nuxt generate before this problem did not occur
2ae6952de10f82286f07ce9fa27b29d7.png
Was this page helpful?