aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-10 00:53:27 +0900
committernsfisis <nsfisis@gmail.com>2024-08-10 00:53:27 +0900
commit1b4b976ec6c0e6f25cbdde7c3ee564e99a786e64 (patch)
tree771fe342b68a5f8906259e395e6e8444a9a8616c /frontend
parent01fafac46390e540f4d8766d53177a69da7e64ae (diff)
downloadphperkaigi-2025-albatross-1b4b976ec6c0e6f25cbdde7c3ee564e99a786e64.tar.gz
phperkaigi-2025-albatross-1b4b976ec6c0e6f25cbdde7c3ee564e99a786e64.tar.zst
phperkaigi-2025-albatross-1b4b976ec6c0e6f25cbdde7c3ee564e99a786e64.zip
feat: configure JWT secret
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/.server/session.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/app/.server/session.ts b/frontend/app/.server/session.ts
index 102bcd2..f03f9fa 100644
--- a/frontend/app/.server/session.ts
+++ b/frontend/app/.server/session.ts
@@ -6,7 +6,7 @@ export const cookieOptions = {
httpOnly: true,
// secure: process.env.NODE_ENV === "production",
secure: false, // TODO
- secrets: ["TODO"],
+ secrets: [process.env.ALBATROSS_COOKIE_SECRET ?? "local"],
};
export const sessionStorage = createCookieSessionStorage({