mirror of
https://github.com/ProjectSegfault/website.git
synced 2025-04-17 08:19:08 +05:30
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(),
|
|
}
|
|
}
|