auth & sidebar
This commit is contained in:
parent
8086aa8f38
commit
af078e7ba2
74 changed files with 3262 additions and 133 deletions
10
website/src/hooks.server.ts
Normal file
10
website/src/hooks.server.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { auth } from "$lib/auth";
|
||||
import { svelteKitHandler } from "better-auth/svelte-kit";
|
||||
|
||||
export async function handle({ event, resolve }) {
|
||||
// event.setHeaders({
|
||||
// 'Cache-Control': 'private, no-cache, no-store, must-revalidate'
|
||||
// });
|
||||
|
||||
return svelteKitHandler({ event, resolve, auth });
|
||||
}
|
||||
Reference in a new issue