Files
scan-wave/src/routes/+layout.server.ts
Roman Krček 58872bada6 Working
2025-06-19 20:25:36 +02:00

9 lines
246 B
TypeScript

import type { LayoutServerLoad } from './$types'
export const load: LayoutServerLoad = async ({ locals: { safeGetSession }, cookies }) => {
const { session } = await safeGetSession()
return {
session,
cookies: cookies.getAll(),
}
}