summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/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/desktop/script.ts
parent:art: (diff)
downloadsharkey-79c49bc926ef2c91e231dde0c9132cdae338d421.tar.gz
sharkey-79c49bc926ef2c91e231dde0c9132cdae338d421.tar.bz2
sharkey-79c49bc926ef2c91e231dde0c9132cdae338d421.zip
ページのソースを見れるように
Diffstat (limited to 'src/client/app/desktop/script.ts')
-rw-r--r--src/client/app/desktop/script.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts
index 00ba5db23a..e8da235263 100644
--- a/src/client/app/desktop/script.ts
+++ b/src/client/app/desktop/script.ts
@@ -159,8 +159,9 @@ init(async (launch, os) => {
{ path: '/i/pages', component: () => import('./views/home/pages.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: '/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: '/i/messaging/:user', component: MkMessagingRoom },
{ path: '/i/drive', component: MkDrive },
{ path: '/i/drive/folder/:folder', component: MkDrive },