Mastodon: redirect ActivityPub ID for statuses

merge-requests/902/head
Alex Gleason 3 years ago
parent f03d8861b6
commit 73208ebe4b
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -257,6 +257,7 @@ class SwitchingColumnsArea extends React.PureComponent {
<Redirect from='/tag/:id' to='/tags/:id' /> <Redirect from='/tag/:id' to='/tags/:id' />
<Redirect from='/user-settings' to='/settings/profile' /> <Redirect from='/user-settings' to='/settings/profile' />
<WrappedRoute path='/notice/:statusId' publicRoute exact page={DefaultPage} component={Status} content={children} /> <WrappedRoute path='/notice/:statusId' publicRoute exact page={DefaultPage} component={Status} content={children} />
<Redirect from='/users/:username/statuses/:statusId' to='/@:username/posts/:statusId' />
<Redirect from='/users/:username/chats' to='/chats' /> <Redirect from='/users/:username/chats' to='/chats' />
<Redirect from='/users/:username' to='/@:username' /> <Redirect from='/users/:username' to='/@:username' />
<Redirect from='/terms' to='/about' /> <Redirect from='/terms' to='/about' />

Loading…
Cancel
Save