diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index 98c1386..1297845 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -19,6 +19,7 @@ import TournamentCreateView from "./views/tournament/TournamentCreateView.js"; import AuthenticationView from "./views/accounts/AuthenticationView.js"; import TicTacToeView from "./views/TicTacToeView.js"; import GameHistoryView from "./views/GameHistoryView.js"; +import TicTacToeOnlineView from "./views/TicTacToeOnlineView.js"; let client = new Client(location.origin); let lang = client.lang; @@ -93,6 +94,7 @@ const router = async(uri) => { { path: "/tictactoe", view: TicTacToeView }, { path: "/games/:id/0", view: GameView2D }, { path: "/games/:id/1", view: GameView3D }, + { path: "/games/tictactoe/:id", view: TicTacToeOnlineView }, ]; // Test each route for potential match