fix: default to local timeline when logged out (#855)

This commit is contained in:
Daniel Roe 2023-01-07 13:35:42 -08:00 committed by GitHub
parent b5e14810af
commit 697a88ac3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ const reload = async () => {
try {
if (!masto.loggedIn.value)
await masto.loginTo(currentUser.value)
clearError({ redirect: currentUser.value ? '/home' : `/${currentServer.value}/public` })
clearError({ redirect: currentUser.value ? '/home' : `/${currentServer.value}/public/local` })
}
catch {
state.value = 'error'