add: Morpion url

This commit is contained in:
Namonay 2024-03-22 16:27:41 +01:00 committed by AdrienLSH
parent 381159400f
commit 0eb98e6de6

View File

@ -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