fixup: [frontend] Send through the root path server file
This commit is contained in:
parent
678ada3031
commit
33da2faa0d
1 changed files with 7 additions and 0 deletions
7
frontend/src/routes/+page.server.ts
Normal file
7
frontend/src/routes/+page.server.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
import type { ServerLoad } from '@sveltejs/kit';
|
||||||
|
|
||||||
|
export const load: ServerLoad = async ({ locals }) => {
|
||||||
|
return {
|
||||||
|
isLoggedIn: !!locals.authToken
|
||||||
|
};
|
||||||
|
};
|
||||||
Loading…
Reference in a new issue