Redirect Soapbox Legacy canary URLs to /about/canary

chats_delete_account
Alex Gleason 2020-10-01 11:56:33 -05:00
rodzic bf01dac514
commit 43afd599cd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
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} />