diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index c263079..91d1fee 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -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 diff --git a/frontend/static/js/views/HomeView.js b/frontend/static/js/views/HomeView.js index d9fd194..cb15693 100644 --- a/frontend/static/js/views/HomeView.js +++ b/frontend/static/js/views/HomeView.js @@ -9,6 +9,7 @@ export default class extends AbstractAuthentificateView { async getHtml() { return `