8 lines
170 B
TypeScript
8 lines
170 B
TypeScript
|
import type { LayoutServerLoad } from "./$types"
|
||
|
|
||
|
export const load: LayoutServerLoad = async (event) => {
|
||
|
return {
|
||
|
session: await event.locals.getSession(),
|
||
|
}
|
||
|
}
|