diff --git a/components/nav/NavBottom.vue b/components/nav/NavBottom.vue
index 5122254f..efb2e9e8 100644
--- a/components/nav/NavBottom.vue
+++ b/components/nav/NavBottom.vue
@@ -18,14 +18,14 @@ const moreMenuVisible = ref(false)
-
+
-
+
-
+
diff --git a/components/nav/NavSide.vue b/components/nav/NavSide.vue
index 783d06bd..b6c78c38 100644
--- a/components/nav/NavSide.vue
+++ b/components/nav/NavSide.vue
@@ -17,9 +17,9 @@ const { notifications } = useNotifications()
-
-
-
+
+
+
diff --git a/error.vue b/error.vue
index 8ba07296..7ea016fc 100644
--- a/error.vue
+++ b/error.vue
@@ -23,7 +23,7 @@ const reload = async () => {
try {
if (!useMasto())
await loginTo(currentUser.value)
- clearError({ redirect: currentUser.value ? '/home' : '/public' })
+ clearError({ redirect: currentUser.value ? '/home' : `/${currentServer.value}/public` })
}
catch {
state.value = 'error'
diff --git a/middleware/auth.ts b/middleware/auth.ts
index 87aa1413..794a2fde 100644
--- a/middleware/auth.ts
+++ b/middleware/auth.ts
@@ -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')
})