mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 01:49:14 +00:00
Redirect to /main/all
This commit is contained in:
parent
ea6977cd4d
commit
f671adae37
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue