Clearing cookie using URL param is not working in production build #12601
Unanswered
anandhuremanan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
In my sveltekit app I handle my logout using a url param(I implemented the logout in a button on navbar component) as follows
and uses my hooks.server.ts I did
this works well on dev server, but once I build the project(adapter-node), I need to manually reload the page to clear the cookies. I wonder why it's happening.
Beta Was this translation helpful? Give feedback.
All reactions