diff --git a/src/lib/session/session.ts b/src/lib/session/session.ts
index 5067889..0856240 100644
--- a/src/lib/session/session.ts
+++ b/src/lib/session/session.ts
@@ -37,7 +37,7 @@ export function setSessionTokenCookie(event: RequestEvent, token: string, expire
httpOnly: true,
sameSite: "lax",
expires: expiresAt,
- path: "/"
+ path: "/" // TODO this should be limited to the path the application is running on
});
}
@@ -46,6 +46,6 @@ export function deleteSessionTokenCookie(event: RequestEvent): void {
httpOnly: true,
sameSite: "lax",
maxAge: 0,
- path: "/"
+ path: "/" // TODO this should be limited to the path the application is running on
});
}
diff --git a/src/routes/(app)/+page.svelte b/src/routes/(app)/+page.svelte
index 1011250..02cf00f 100644
--- a/src/routes/(app)/+page.svelte
+++ b/src/routes/(app)/+page.svelte
@@ -16,7 +16,7 @@
{#each data.surveys as survey}