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