diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index 2616dbb..98c1386 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -18,7 +18,6 @@ import TournamentsListView from "./views/tournament/TournamentsListView.js"; import TournamentCreateView from "./views/tournament/TournamentCreateView.js"; import AuthenticationView from "./views/accounts/AuthenticationView.js"; import TicTacToeView from "./views/TicTacToeView.js"; -import TicTacToeOnlineView from "./views/TicTacToeViewOnline.js"; import GameHistoryView from "./views/GameHistoryView.js"; let client = new Client(location.origin); @@ -77,6 +76,7 @@ async function renderView(view) const router = async(uri) => { const routes = [ + { path: "/", view: HomeView}, { path: "/profiles/:id/history", view: GameHistoryView }, { path: "/profiles/:username", view: ProfilePageView }, { path: "/tournaments/create", view: TournamentCreateView }, @@ -91,7 +91,6 @@ const router = async(uri) => { { path: "/matchmaking", view: MatchMakingView }, { path: "/games/offline", view: GameOfflineView }, { path: "/tictactoe", view: TicTacToeView }, - { path: "/tictactoeonline", view: TicTacToeOnlineView }, { path: "/games/:id/0", view: GameView2D }, { path: "/games/:id/1", view: GameView3D }, ];