diff --git a/middleware/auth.global.ts b/middleware/auth.global.ts index b1747c63..91e36185 100644 --- a/middleware/auth.global.ts +++ b/middleware/auth.global.ts @@ -5,7 +5,7 @@ import { useProfileStore } from "~/src/shared/stores/profile" export default defineNuxtRouteMiddleware(async (to) => { const app = useNuxtApp() - if (!app.$appSettings.auth.enabled) { + if (!app.$appSettings?.auth?.enabled) { return undefined } diff --git a/pages/http-dumps/[id].vue b/pages/http-dump/[id].vue similarity index 88% rename from pages/http-dumps/[id].vue rename to pages/http-dump/[id].vue index 61f8c842..5bf4d5fb 100644 --- a/pages/http-dumps/[id].vue +++ b/pages/http-dump/[id].vue @@ -55,16 +55,16 @@ onMounted(getEvent);