restructure and reorganize

This commit is contained in:
2026-02-16 07:47:08 -06:00
parent 561aef8ee3
commit 6d046e90ed
29 changed files with 156 additions and 1797 deletions
+1 -12
View File
@@ -1,12 +1 @@
import { LayoutServerLoad } from "./$types";
export const load: LayoutServerLoad = async ({ locals }) => {
// WARNING: returning tokens to the client exposes them to JavaScript.
// Prefer keeping tokens httpOnly and proxying requests via server endpoints.
return {
session: {
accessToken: locals.session?.accessToken ?? null,
refreshToken: locals.session?.refreshToken ?? null,
},
};
};
// Layout server code removed for fresh start