Companys are now listing on the companies page.

This commit is contained in:
2026-02-13 17:01:42 -06:00
parent 1a45f708ec
commit 6b176196d3
9 changed files with 304 additions and 250 deletions
+12
View File
@@ -0,0 +1,12 @@
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,
},
};
};