11 lines
242 B
TypeScript
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
|
|
};
|
|
};
|