Compare commits

...

2 Commits

Author SHA1 Message Date
Alex Gleason 05f7577e09
Add Twitter compatibility redirects 2021-12-27 13:31:23 -06:00
Alex Gleason e9d66248b5
Add compatibility redirects for Mastodon and Soapbox FE 2021-12-27 13:25:12 -06:00
1 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,12 @@ 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' },
{ path: '/:username/status/: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 },