;
This commit is contained in:
parent
50444af45c
commit
a8f1cccae3
@ -19,10 +19,10 @@ import TournamentPageView from "./views/tournament/TournamentPageView.js";
|
|||||||
import TournamentsView from "./views/tournament/TournamentsListView.js";
|
import TournamentsView from "./views/tournament/TournamentsListView.js";
|
||||||
import TournamentCreateView from "./views/tournament/TournamentCreateView.js";
|
import TournamentCreateView from "./views/tournament/TournamentCreateView.js";
|
||||||
|
|
||||||
let client = new Client(location.origin)
|
let client = new Client(location.origin);
|
||||||
|
|
||||||
let lastView = undefined
|
let lastView = undefined;
|
||||||
let lastPageUrlBeforeLogin = undefined
|
let lastPageUrlBeforeLogin = undefined;
|
||||||
|
|
||||||
const pathToRegex = path => new RegExp("^" + path.replace(/\//g, "\\/").replace(/:\w+/g, "(.+)") + "$");
|
const pathToRegex = path => new RegExp("^" + path.replace(/\//g, "\\/").replace(/:\w+/g, "(.+)") + "$");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user