topisani/Discurses

localStorage to get token no longer exists.

Closed this issue · 4 comments

> localStorage.getItem("token")
Uncaught ReferenceError: localStorage is not defined
    at <anonymous>:1:1
(anonymous) @ VM943:1

Unable to get token for .yaml file, the localStorage function is no longer there.

Made a pull request on new method of retrieving token here: #19

@undying-fish Yeah, this is @topisani's program, not Discords so naturally they cannot help. It's just that in the README the method of retrieving the token is dated.

I've found a new way and added it to the README in pull request #19.

Thanks, I've just got this working. This issue can be closed now.