docs(richtlinien): shorten prerender comment to essentials
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
// prerender = true is safe here: hooks.server.ts exports
|
// Safe: handleAuth in hooks.server.ts redirects unauthenticated requests
|
||||||
// handle = sequence(userGroup, handleAuth, ...)
|
// before prerendered HTML is visible.
|
||||||
// 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.
|
|
||||||
export const prerender = true;
|
export const prerender = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user