Add Twitter compatibility redirects

This commit is contained in:
Alex Gleason 2021-12-27 13:31:23 -06:00
parent e9d66248b5
commit 05f7577e09
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -43,6 +43,7 @@ export default (store) => {
// Redirects from Mastodon, Soapbox FE, etc. to fix old bookmarks // Redirects from Mastodon, Soapbox FE, etc. to fix old bookmarks
{ path: '/@:username/posts/:statusId', redirect: '/notice/:statusId' }, { path: '/@:username/posts/:statusId', redirect: '/notice/:statusId' },
{ path: '/@:username/: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-external-timeline', path: '/main/all', component: PublicAndExternalTimeline },
{ name: 'public-timeline', path: '/main/public', component: PublicTimeline }, { name: 'public-timeline', path: '/main/public', component: PublicTimeline },