Lots of dev
ci / docker_image (push) Successful in 2m55s
ci / deploy (push) Successful in 51s

This commit is contained in:
2026-02-03 00:23:43 -06:00
parent 2c2b08aa1a
commit 4ea6549ac7
66 changed files with 2125 additions and 172 deletions
+2 -7
View File
@@ -1,10 +1,5 @@
import type { LayoutServerLoad } from './$types';
import { getUserFromJWT } from '$lib/shared';
export const load: LayoutServerLoad = ({ cookies }) => {
const jwt = cookies.get('jwt');
if (jwt) {
return { selfUser: getUserFromJWT(jwt) };
}
return { selfUser: null };
export const load: LayoutServerLoad = async ({ locals }) => {
return { user: locals.user };
};