docs(richtlinien): shorten prerender comment to essentials

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-25 09:02:51 +02:00
committed by marcel
parent 5b7c37391c
commit 7830a749a0

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;