add: Morpion url
This commit is contained in:
parent
381159400f
commit
0eb98e6de6
@ -19,6 +19,7 @@ import TournamentCreateView from "./views/tournament/TournamentCreateView.js";
|
|||||||
import AuthenticationView from "./views/accounts/AuthenticationView.js";
|
import AuthenticationView from "./views/accounts/AuthenticationView.js";
|
||||||
import TicTacToeView from "./views/TicTacToeView.js";
|
import TicTacToeView from "./views/TicTacToeView.js";
|
||||||
import GameHistoryView from "./views/GameHistoryView.js";
|
import GameHistoryView from "./views/GameHistoryView.js";
|
||||||
|
import TicTacToeOnlineView from "./views/TicTacToeOnlineView.js";
|
||||||
|
|
||||||
let client = new Client(location.origin);
|
let client = new Client(location.origin);
|
||||||
let lang = client.lang;
|
let lang = client.lang;
|
||||||
@ -93,6 +94,7 @@ const router = async(uri) => {
|
|||||||
{ path: "/tictactoe", view: TicTacToeView },
|
{ path: "/tictactoe", view: TicTacToeView },
|
||||||
{ path: "/games/:id/0", view: GameView2D },
|
{ path: "/games/:id/0", view: GameView2D },
|
||||||
{ path: "/games/:id/1", view: GameView3D },
|
{ path: "/games/:id/1", view: GameView3D },
|
||||||
|
{ path: "/games/tictactoe/:id", view: TicTacToeOnlineView },
|
||||||
];
|
];
|
||||||
|
|
||||||
// Test each route for potential match
|
// Test each route for potential match
|
||||||
|
Loading…
Reference in New Issue
Block a user