add search, improve SLayout
This commit is contained in:
parent
ddb07a651e
commit
1dc5768640
11 changed files with 153 additions and 15 deletions
9
src/hooks.server.ts
Normal file
9
src/hooks.server.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { getMe } from "$lib/globals.svelte";
|
||||
import type { Handle } from "@sveltejs/kit";
|
||||
|
||||
|
||||
export const handle: Handle = async ({event, resolve }) => {
|
||||
event.locals.me = getMe();
|
||||
|
||||
return resolve(event);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue