Add Mastodon compatibility routes for /web and /web/timelines/home

merge-requests/782/head
Alex Gleason 3 years ago
parent 1ce272608d
commit dbc8e3fc26
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -230,7 +230,10 @@ class SwitchingColumnsArea extends React.PureComponent {
<WrappedRoute path='/groups/:id' page={GroupPage} component={GroupTimeline} content={children} /> <WrappedRoute path='/groups/:id' page={GroupPage} component={GroupTimeline} content={children} />
*/} */}
{/* Redirects from Pleroma FE, etc. to fix old bookmarks */} {/* Redirects from Mastodon, Pleroma FE, etc. to fix old bookmarks */}
<Redirect from='/web/:path1/:path2' to='/:path1/:path2' />
<Redirect from='/web/:path' to='/:path' />
<Redirect from='/timelines/home' to='/' />
<Redirect from='/main/all' to='/timeline/fediverse' /> <Redirect from='/main/all' to='/timeline/fediverse' />
<Redirect from='/main/public' to='/timeline/local' /> <Redirect from='/main/public' to='/timeline/local' />
<Redirect from='/main/friends' to='/' /> <Redirect from='/main/friends' to='/' />

Loading…
Cancel
Save