Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
realjunderwood authored Feb 13, 2024
1 parent b46ab70 commit 3243fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facemusic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
if (!loaded && curState >= 3 && ( localStorage.getItem("access_token") === "undefined" || localStorage.getItem("access_token") === null
|| parseInt(localStorage.getItem("curTime")) + parseInt(localStorage.getItem("expiresIn")) > Math.floor(Date.now()/1000) ) ) { // Access_token doesn't exist, or is expired, yet curState is one that requires an access_token. Reset the whole app.
console.log("hi");
localStorage.setItem
localStorage.setItem("access_token",null);
setCurState(0);
setLoaded(true);

Expand Down

0 comments on commit 3243fe0

Please sign in to comment.