finally buildable without jwt

This commit is contained in:
2024-02-19 23:38:00 +01:00
parent c23d742398
commit c86844afac
3 changed files with 7 additions and 10 deletions

View File

@@ -1,8 +1,6 @@
import { get_username } from '$lib/js/get_username';;
import type { Actions, PageServerLoad } from "./$types"
import { error } from "@sveltejs/kit"
import type { PageServerLoad } from "./$types"
export const load = (async ({cookies, locals}) => {
export const load : PageServerLoad = (async ({locals}) => {
return {
session: await locals.auth(),
}