diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts index 2526c2b933..8175ce9b66 100644 --- a/src/client/app/desktop/script.ts +++ b/src/client/app/desktop/script.ts @@ -65,11 +65,7 @@ init(async (launch) => { { path: '/search', component: MkSearch }, { path: '/tags/:tag', component: MkTag }, { path: '/share', component: MkShare }, - { path: '/reversi', component: MkReversi, - children: [{ - path: ':game', component: MkReversi - }] - }, + { path: '/reversi/:game?', component: MkReversi }, { path: '/@:user', component: MkUser }, { path: '/notes/:note', component: MkNote }, { path: '/authorize-follow', component: MkFollow } diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts index af885e5007..5b9d45462a 100644 --- a/src/client/app/mobile/script.ts +++ b/src/client/app/mobile/script.ts @@ -76,8 +76,7 @@ init((launch) => { { path: '/search', component: MkSearch }, { path: '/tags/:tag', component: MkTag }, { path: '/share', component: MkShare }, - { path: '/reversi', name: 'reversi', component: MkReversi }, - { path: '/reversi/:game', component: MkReversi }, + { path: '/reversi/:game?', name: 'reversi', component: MkReversi }, { path: '/@:user', component: MkUser }, { path: '/@:user/followers', component: MkFollowers }, { path: '/@:user/following', component: MkFollowing },