feat: update routes

This commit is contained in:
enes 2024-10-23 17:54:33 +02:00
parent bb653fa356
commit 7393940027

View File

@ -13,7 +13,7 @@ import { GamePage } from 'pages/game'
export const appRoutes = { export const appRoutes = {
index: '/', index: '/',
home: '/home', home: '/',
games: '/games', games: '/games',
game: '/game/:name', game: '/game/:name',
mods: '/mods', mods: '/mods',
@ -28,7 +28,7 @@ export const appRoutes = {
settingsRelays: '/settings-relays', settingsRelays: '/settings-relays',
settingsPreferences: '/settings-preferences', settingsPreferences: '/settings-preferences',
settingsAdmin: '/settings-admin', settingsAdmin: '/settings-admin',
profile: '/profile/:nprofile' profile: '/profile/:nprofile?'
} }
export const getGamePageRoute = (name: string) => export const getGamePageRoute = (name: string) =>