Skip to content

Commit

Permalink
script frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
acktarius committed Oct 7, 2023
1 parent 1281f02 commit ee2eed2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,14 @@ block layout-content
a(href="/register")
h3.inlineIndex Register
img.inlineIndexD(src="rocket-solid.svg" Title="Register")
script.
(
(() => {
if (window.localStorage) {
if (localStorage.getItem('reload')) {
localStorage.removeItem('reload');
}
}
})();
)

0 comments on commit ee2eed2

Please sign in to comment.