How to set cookies in localhost - ReactJS
I know there are already a lot of questions similar to this but I couldn't find a solution yet. I managed to deploy my React app on a server, and cookies work fine. Cookie is set by the server with set-cookie and then automatically included in all subsequent requests However, I cannot make it work when I launch it on localhost: the cookie is not included in the requests after the server has set it. I think I tried all possible solutions that I found online and any possible combinations of them. The command I use is "start": "yarn run start" Things I tried: When the server sets the cookie, I tr
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.