From f9c14685b34bdea2b39fdfaeb4119d05f5625f98 Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 25 Mar 2026 13:51:36 +0500 Subject: [PATCH] feat(auth): make /disclaimer, /privacy, /dmca public routes --- ui/src/routes/+layout.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/routes/+layout.server.ts b/ui/src/routes/+layout.server.ts index 0cd999c..ad666f9 100644 --- a/ui/src/routes/+layout.server.ts +++ b/ui/src/routes/+layout.server.ts @@ -4,7 +4,7 @@ import { getSettings } from '$lib/server/pocketbase'; import { log } from '$lib/server/logger'; // Routes that are accessible without being logged in -const PUBLIC_ROUTES = new Set(['/login']); +const PUBLIC_ROUTES = new Set(['/login', '/disclaimer', '/privacy', '/dmca']); export const load: LayoutServerLoad = async ({ locals, url }) => { // Allow /auth/* (OAuth initiation + callbacks) without login