Brijesh's Git Server — catalyst @ 140dfab3dc903a978b408323711728d995df5117

client/src/routes/+layout.server.ts (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
import type { LayoutServerLoad } from './$types';

export const load: LayoutServerLoad = async (event) => {
	const session = await event.locals.auth();

	return {
		session
	};
};