fix: default to local timeline when logged out (#855)
This commit is contained in:
parent
b5e14810af
commit
697a88ac3d
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ export default defineNuxtRouteMiddleware((to) => {
|
|||
|
||||
onMastoInit(() => {
|
||||
if (!currentUser.value)
|
||||
return navigateTo(`/${currentServer.value}/public`)
|
||||
return navigateTo(`/${currentServer.value}/public/local`)
|
||||
if (to.path === '/')
|
||||
return navigateTo('/home')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue