Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: fix by adding correct filename

MentalGear3ef05d02beae
diff --git a/apps/reference/docs/guides/auth/auth-helpers/sveltekit.mdx b/apps/reference/docs/guides/auth/auth-helpers/sveltekit.mdx
index 67b655863dc..5ba0d72572a 100644
--- a/apps/reference/docs/guides/auth/auth-helpers/sveltekit.mdx
+++ b/apps/reference/docs/guides/auth/auth-helpers/sveltekit.mdx
@@ -104,7 +104,7 @@ Edit your `+layout.svelte` file and set up the client-side.
### Set up hooks
-The `hooks.ts` file is where the heavy lifting of this library happens:
+The `hooks.server.ts` file is where the heavy lifting of this library happens:
```ts title="src/hooks.server.ts"
// make sure the supabase instance is initialized on the server