Merge branch 'canary-redirect' into 'develop'

Redirect Soapbox Legacy canary URLs to /about/canary

See merge request soapbox-pub/soapbox-fe!282
chats_delete_account
Alex Gleason 2020-10-01 17:08:49 +00:00
commit a187871ba9
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -230,6 +230,10 @@ class SwitchingColumnsArea extends React.PureComponent {
<Redirect from='/users/:username' to='/@:username' />
<Redirect from='/home' to='/' />
{/* Soapbox Legacy redirects */}
<Redirect from='/canary' to='/about/canary' />
<Redirect from='/canary.txt' to='/about/canary' />
<WrappedRoute path='/tags/:id' publicRoute component={HashtagTimeline} content={children} />
<WrappedRoute path='/lists' layout={LAYOUT.DEFAULT} component={Lists} content={children} />