Add load url for users and requests.

This commit is contained in:
yukirij 2024-10-18 14:26:15 -07:00
parent ea1f96dbac
commit b9f5986bde

View File

@ -49,6 +49,9 @@ class SceneManager {
case "about": this.load(SCENES.About); return;
case "challenge": this.load(SCENES.Challenge); return;
case "extras": this.load(SCENES.Extras); return;
case "users": this.load(SCENES.Users); return;
case "requests": this.load(SCENES.Requests); return;
case "game": {
if(parts[2]) {
@ -1244,7 +1247,7 @@ const SCENES = {
UI.maincontent(table);
history.pushState(null, "Dzura", "/challenge/");
history.pushState(null, "Dzura", "/users/");
return true;
}
refresh() {
@ -1324,7 +1327,7 @@ const SCENES = {
UI.maincontent(table);
history.pushState(null, "Dzura", "/challenge/");
history.pushState(null, "Dzura", "/requests/");
return true;
}
refresh() {