init view

This commit is contained in:
2023-12-11 13:40:01 +01:00
parent f66b3883c1
commit 336257d1d0
3 changed files with 16 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import AbstractRedirectView from "./views/AbstractRedirectView.js";
import MeView from "./views/MeView.js";
import ProfilePageView from "./views/profiles/ProfilePageView.js";
import ProfilesView from "./views/profiles/ProfilesView.js";
import MatchMakingView from "./views/MatchMakingView.js";
let client = new Client(location.protocol + "//" + location.host)
@ -44,6 +45,7 @@ const router = async (uri = "") => {
{ path: "/chat", view: Chat },
{ path: "/home", view: HomeView },
{ path: "/me", view: MeView },
{ path: "/matchmaking", view: MatchMakingView },
];
// Test each route for potential match