set public next env vars from config

This commit is contained in:
Milo Schwartz
2024-10-12 21:23:12 -04:00
parent cf1de2253b
commit 61fca6a1f6
7 changed files with 69 additions and 33 deletions

View File

@@ -118,7 +118,7 @@ export async function login(
const session = await lucia.createSession(existingUser.id, {});
const cookie = lucia.createSessionCookie(session.id).serialize();
logger.debug("Session cookie", JSON.stringify(cookie, null, 2));
res.appendHeader(
"Set-Cookie",
cookie