feat: mvp
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { getSession as getSession } from '$lib/auth';
|
||||
import type { LayoutServerLoad } from './$types';
|
||||
|
||||
export const load: LayoutServerLoad = async (event) => {
|
||||
const session = await getSession(event);
|
||||
|
||||
return {
|
||||
session
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user