Compare commits
2 Commits
develop
...
add-compta
Author | SHA1 | Date |
---|---|---|
Alex Gleason | 05f7577e09 | |
Alex Gleason | e9d66248b5 |
|
@ -39,6 +39,12 @@ export default (store) => {
|
||||||
: store.state.instance.redirectRootNoLogin) || '/main/all'
|
: 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-external-timeline', path: '/main/all', component: PublicAndExternalTimeline },
|
||||||
{ name: 'public-timeline', path: '/main/public', component: PublicTimeline },
|
{ name: 'public-timeline', path: '/main/public', component: PublicTimeline },
|
||||||
{ name: 'friends', path: '/main/friends', component: FriendsTimeline, beforeEnter: validateAuthenticatedRoute },
|
{ name: 'friends', path: '/main/friends', component: FriendsTimeline, beforeEnter: validateAuthenticatedRoute },
|
||||||
|
|
Loading…
Reference in New Issue