This commit is contained in:
Hakaba Hitoyo 2018-04-29 18:09:49 +09:00
parent b1d1c7cfc4
commit 150b815407
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ window.fetch('/static/config.json')
var redirectRootLogin = data['redirectRootLogin'] var redirectRootLogin = data['redirectRootLogin']
var redirectRootNoLogin = data['redirectRootNoLogin'] var redirectRootNoLogin = data['redirectRootNoLogin']
return (store.state.users.currentUser ? redirectRootLogin : redirectRootNoLogin) || '/main/all' return (store.state.users.currentUser ? redirectRootLogin : redirectRootNoLogin) || '/main/all'
}}, }},
{ path: '/main/all', component: PublicAndExternalTimeline }, { path: '/main/all', component: PublicAndExternalTimeline },
{ path: '/main/public', component: PublicTimeline }, { path: '/main/public', component: PublicTimeline },
{ path: '/main/friends', component: FriendsTimeline }, { path: '/main/friends', component: FriendsTimeline },