From af636fc2b539bbdcc2cdbe4b4c8756f4f18d6cee Mon Sep 17 00:00:00 2001 From: Neville Brem Date: Tue, 1 Oct 2024 20:15:20 +0200 Subject: [PATCH] docs: add a file name (#60) I added this file name, because I was confused myself where to put this code and I wanted to clarify that --- docs/content/docs/integrations/svelte-kit.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/integrations/svelte-kit.mdx b/docs/content/docs/integrations/svelte-kit.mdx index b1da88dd7f..183692eba9 100644 --- a/docs/content/docs/integrations/svelte-kit.mdx +++ b/docs/content/docs/integrations/svelte-kit.mdx @@ -8,7 +8,7 @@ Before you start, make sure you have a better auth instance configured. If you h We need to mount the handler to svelte kit server hook. -```ts +```ts title="hooks.server.ts" import { auth } from "$lib/auth"; import { svelteKitHandler } from "better-auth/svelte-kit";