diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index e2a7cfe..d94db7d 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -19,10 +19,10 @@ import TournamentPageView from "./views/tournament/TournamentPageView.js"; import TournamentsView from "./views/tournament/TournamentsListView.js"; import TournamentCreateView from "./views/tournament/TournamentCreateView.js"; -let client = new Client(location.origin) +let client = new Client(location.origin); -let lastView = undefined -let lastPageUrlBeforeLogin = undefined +let lastView = undefined; +let lastPageUrlBeforeLogin = undefined; const pathToRegex = path => new RegExp("^" + path.replace(/\//g, "\\/").replace(/:\w+/g, "(.+)") + "$");