I have to change from using atob
and btoa
because for some reason, the app is crashing. Vite doesn't like how atob
is decoding things. SMH (site is down for a bit) Not happy with the work I've had to do to compensate but the site is back up.
Locally, the session seems to operate as expected but in production, I'm still seeing the login link while I'm logged in.
I also realized the reason for a 500 error is because of my cookies. Hopefully the code I've added will delete the cookies in your browser if they aren't able to parsed. Ideally, you shouldn't have to open the console to fix the site.
Let me know of any issues though!