add initial Glaube section
This commit is contained in:
7
src/routes/glaube/+layout.server.ts
Normal file
7
src/routes/glaube/+layout.server.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { get_username } from '$lib/js/get_username';;
|
||||
import type { Actions, PageServerLoad } from "./$types"
|
||||
import { error } from "@sveltejs/kit"
|
||||
|
||||
export const load = (async ({cookies}) => {
|
||||
return { user: await get_username(cookies) }
|
||||
});
|
Reference in New Issue
Block a user