I can only read a nextjs cookie that has a path attribute on initial page load
I’m using the pages router in next.js v14.
How to read cookie in API route that was set in server.js on Next 14
Inside my server.js file on my Next 14 application I have:
Cookie shown in cookies tab, but disappears after a second [NextJS & cookies-next]
I’m using cookies-next to set a cookie in NextJS, like so (pages router, client side as per docs):