summaryrefslogtreecommitdiff
path: root/client/src/routes/(app)/+layout.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/routes/(app)/+layout.ts')
-rw-r--r--client/src/routes/(app)/+layout.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/routes/(app)/+layout.ts b/client/src/routes/(app)/+layout.ts
new file mode 100644
index 0000000..08366b0
--- /dev/null
+++ b/client/src/routes/(app)/+layout.ts
@@ -0,0 +1,6 @@
+import type { LayoutLoad } from './$types';
+
+export const load: LayoutLoad = () => {
+ // TODO: Decrypt sessioncookie if set, if not set, redirect to /login
+ return {};
+};