feat: update routes
This commit is contained in:
parent
bb653fa356
commit
7393940027
@ -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) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user