Files
aktiteil/src/routes/+layout.server.ts
T
schreifuchs 7d9ff9ff2b
PullRequest / publish (pull_request) Failing after 2m22s
Commit / ci (push) Successful in 10m38s
refactor: move server-only code (resolves #2)
2026-04-03 13:01:30 +02:00

11 lines
242 B
TypeScript

import { getSession as getSession } from '$lib/server/session';
import type { LayoutServerLoad } from './$types';
export const load: LayoutServerLoad = async (event) => {
const session = await getSession(event);
return {
session
};
};