Add Mastodon compatibility routes for /web and /web/timelines/home
This commit is contained in:
parent
1ce272608d
commit
dbc8e3fc26
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue