summaryrefslogtreecommitdiff
path: root/src/web/app/mobile/script.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/mobile/script.ts')
-rw-r--r--src/web/app/mobile/script.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/app/mobile/script.ts b/src/web/app/mobile/script.ts
index 07912a178e..dce6640eac 100644
--- a/src/web/app/mobile/script.ts
+++ b/src/web/app/mobile/script.ts
@@ -22,6 +22,7 @@ import MkDrive from './views/pages/drive.vue';
import MkNotifications from './views/pages/notifications.vue';
import MkMessaging from './views/pages/messaging.vue';
import MkMessagingRoom from './views/pages/messaging-room.vue';
+import MkPost from './views/pages/post.vue';
/**
* init
@@ -57,6 +58,7 @@ init((launch) => {
{ path: '/i/drive/folder/:folder', component: MkDrive },
{ path: '/i/drive/file/:file', component: MkDrive },
{ path: '/selectdrive', component: MkSelectDrive },
- { path: '/:user', component: MkUser }
+ { path: '/:user', component: MkUser },
+ { path: '/:user/:post', component: MkPost }
]);
}, true);