Redirect Soapbox Legacy canary URLs to /about/canary

This commit is contained in:
Alex Gleason 2020-10-01 11:56:33 -05:00
parent bf01dac514
commit 43afd599cd
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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} />