Merge branch 'add-comptability-redirects' into 'develop'
Add compatibility redirects for Mastodon and Soapbox FE See merge request pleroma/pleroma-fe!1418
This commit is contained in:
commit
95c73a3b2a
1 changed files with 6 additions and 0 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Reference in a new issue