From f32caad343e6d974a6bf2d4a5b452e71081b67d7 Mon Sep 17 00:00:00 2001 From: AdrienLSH Date: Mon, 29 Jan 2024 10:19:11 +0100 Subject: [PATCH] bozo move --- frontend/static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index 4005051..e2a7cfe 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -19,7 +19,7 @@ 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.protocol + "//" + location.host) +let client = new Client(location.origin) let lastView = undefined let lastPageUrlBeforeLogin = undefined