fix: offline tictactoe: fixed 404 error
This commit is contained in:
parent
821d4b9154
commit
e46d266b5b
@ -93,7 +93,7 @@ const router = async(uri) => {
|
|||||||
{ path: "/matchmaking", view: MatchMakingView },
|
{ path: "/matchmaking", view: MatchMakingView },
|
||||||
{ path: "/games/pong/offline", view: PongOfflineView },
|
{ path: "/games/pong/offline", view: PongOfflineView },
|
||||||
{ path: "/games/pong/:id", view: PongOnlineView },
|
{ path: "/games/pong/:id", view: PongOnlineView },
|
||||||
{ path: "/games/tictactoe", view: TicTacToeOfflineView },
|
{ path: "/games/tictactoe/offline", view: TicTacToeOfflineView },
|
||||||
{ path: "/games/tictactoe/:id", view: TicTacToeOnlineView },
|
{ path: "/games/tictactoe/:id", view: TicTacToeOnlineView },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ export default class extends AbstractAuthenticatedView {
|
|||||||
<h1>${lang.get('homeTitle', 'Home')}</h1>
|
<h1>${lang.get('homeTitle', 'Home')}</h1>
|
||||||
<a href="/matchmaking" data-link>${lang.get('homeOnline', 'Play online')}</a>
|
<a href="/matchmaking" data-link>${lang.get('homeOnline', 'Play online')}</a>
|
||||||
<a href="/games/pong/offline" data-link>${lang.get('homeOffline', 'Play offline')}</a>
|
<a href="/games/pong/offline" data-link>${lang.get('homeOffline', 'Play offline')}</a>
|
||||||
<a href="/tictactoe" data-link>${lang.get('ticTacToe')}</a>
|
<a href="/games/tictactoe/offline" data-link>${lang.get('ticTacToe')}</a>
|
||||||
<a href="/settings" data-link>${lang.get('homeSettings', 'Settings')}</a>
|
<a href="/settings" data-link>${lang.get('homeSettings', 'Settings')}</a>
|
||||||
<a href="/logout" data-link>${lang.get('homeLogout', 'Logout')}</a>
|
<a href="/logout" data-link>${lang.get('homeLogout', 'Logout')}</a>
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user