docs(richtlinien): shorten prerender comment to essentials
Some checks failed
CI / Unit & Component Tests (push) Failing after 3m25s
CI / OCR Service Tests (push) Successful in 52s
CI / Backend Unit Tests (push) Failing after 3m12s
CI / Unit & Component Tests (pull_request) Failing after 3m2s
CI / OCR Service Tests (pull_request) Successful in 42s
CI / Backend Unit Tests (pull_request) Failing after 3m8s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-25 09:02:51 +02:00
parent ccca8dab18
commit 7b3334f5e7

View File

@@ -1,6 +1,3 @@
// prerender = true is safe here: hooks.server.ts exports
// handle = sequence(userGroup, handleAuth, ...)
// where handleAuth redirects all non-public paths to /login at runtime.
// Prerendered HTML is served, but the browser still hits handleAuth on
// every navigation — unauthenticated users are redirected before seeing content.
// Safe: handleAuth in hooks.server.ts redirects unauthenticated requests
// before prerendered HTML is visible.
export const prerender = true;