fix: update more public and explore links

This commit is contained in:
Daniel Roe 2022-12-04 20:05:11 +00:00
parent fd1be3b86c
commit 04615e443e
No known key found for this signature in database
GPG key ID: 22D5008E4F5D9B55
4 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
export default defineNuxtRouteMiddleware((to) => {
if (!currentUser.value)
return navigateTo('/public')
return navigateTo(`/${currentServer.value}/public`)
if (to.path === '/')
return navigateTo('/home')
})