summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/script.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-01 20:48:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-01 20:48:56 +0900
commit79c49bc926ef2c91e231dde0c9132cdae338d421 (patch)
tree2d1fea010186686d191ee94c8c188ce120bd8eb6 /src/client/app/mobile/script.ts
parent:art: (diff)
downloadmisskey-79c49bc926ef2c91e231dde0c9132cdae338d421.tar.gz
misskey-79c49bc926ef2c91e231dde0c9132cdae338d421.tar.bz2
misskey-79c49bc926ef2c91e231dde0c9132cdae338d421.zip
ページのソースを見れるように
Diffstat (limited to 'src/client/app/mobile/script.ts')
-rw-r--r--src/client/app/mobile/script.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts
index 136bbc31c4..4a79d88773 100644
--- a/src/client/app/mobile/script.ts
+++ b/src/client/app/mobile/script.ts
@@ -146,7 +146,7 @@ init((launch, os) => {
{ path: '/i/drive/folder/:folder', component: MkDrive },
{ path: '/i/drive/file/:file', component: MkDrive },
{ path: '/i/pages/new', component: () => import('./views/pages/page-editor.vue').then(m => m.default) },
- { path: '/i/pages/edit/:page', props: true, component: () => import('./views/pages/page-editor.vue').then(m => m.default) },
+ { path: '/i/pages/edit/:pageId', props: true, component: () => import('./views/pages/page-editor.vue').then(m => m.default) },
{ path: '/selectdrive', component: MkSelectDrive },
{ path: '/search', component: MkSearch },
{ path: '/tags/:tag', component: MkTag },
@@ -160,6 +160,7 @@ init((launch, os) => {
{ path: 'followers', component: () => import('../common/views/pages/followers.vue').then(m => m.default) },
]},
{ path: '/@:user/pages/:page', props: true, component: () => import('./views/pages/page.vue').then(m => m.default) },
+ { path: '/@:user/pages/:pageName/view-source', props: true, component: () => import('./views/pages/page-editor.vue').then(m => m.default) },
{ path: '/notes/:note', component: MkNote },
{ path: '/authorize-follow', component: MkFollow },
{ path: '*', component: MkNotFound }