Merge branch 'canary-redirect' into 'develop'

Redirect Soapbox Legacy canary URLs to /about/canary

See merge request soapbox-pub/soapbox-fe!282
This commit is contained in:
Alex Gleason
2020-10-01 17:08:49 +00:00

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