diff --git a/src/boot/routes.js b/src/boot/routes.js index 1bc1f9f7..8e41ad74 100644 --- a/src/boot/routes.js +++ b/src/boot/routes.js @@ -39,6 +39,11 @@ export default (store) => { : store.state.instance.redirectRootNoLogin) || '/main/all' } }, + + // Redirects from Mastodon, Soapbox FE, etc. to fix old bookmarks + { path: '/@:username/posts/:statusId', redirect: '/notice/:statusId' }, + { path: '/@:username/:statusId', redirect: '/notice/:statusId' }, + { name: 'public-external-timeline', path: '/main/all', component: PublicAndExternalTimeline }, { name: 'public-timeline', path: '/main/public', component: PublicTimeline }, { name: 'friends', path: '/main/friends', component: FriendsTimeline, beforeEnter: validateAuthenticatedRoute },