From 13451f68436ce7a88953d2af9755c78e78e7c74e Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 3 Aug 2018 22:42:53 +0900 Subject: [PATCH] :v: --- src/client/app/desktop/script.ts | 6 +----- src/client/app/mobile/script.ts | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) 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 },