mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-12-25 14:15:07 +01:00
Redirect to /main/all
This commit is contained in:
parent
ea6977cd4d
commit
f671adae37
@ -30,8 +30,9 @@ export default (store) => {
|
||||
{ path: '/main/:route',
|
||||
redirect: to => {
|
||||
const { params } = to
|
||||
const route = params.route ? params.route : 'all'
|
||||
|
||||
return { path: `/~/main/${params.route}` }
|
||||
return { path: `/~/main/${route}` }
|
||||
}
|
||||
},
|
||||
{ path: '/tag/:tag',
|
||||
|
Loading…
Reference in New Issue
Block a user