diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index fe02d45..bff4064 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -1,4 +1,4 @@ -import { validateSession } from '$lib/server/auth/index.js'; +import { validateSession } from '$lib/server/auth'; export async function load(event) { await validateSession(event); diff --git a/src/routes/app/+layout.server.ts b/src/routes/app/+layout.server.ts index c0f6e71..b831d3e 100644 --- a/src/routes/app/+layout.server.ts +++ b/src/routes/app/+layout.server.ts @@ -1,4 +1,4 @@ -import { validateSession } from '$lib/server/auth/index.js'; +import { validateSession } from '$lib/server/auth'; export async function load(event) { const { @@ -7,4 +7,4 @@ export async function load(event) { return { user: rest, }; -} +} \ No newline at end of file