Y
Hacker News
new
|
ask
|
show
|
jobs
by
None4U
181 days ago
Discord removes the token from localStorage when the web app is open and it's in app memory, and places it back when you close the tab using the "onbeforeunload" event.
1 comments
johnisgood
180 days ago
Yeah, that is what I have observed, too.
You can retrieve it the webpack way though.
link
You can retrieve it the webpack way though.