switch from RUNTIME_ENVIRONMENT to standard NODE_ENV

This commit is contained in:
Torben Haack
2024-10-09 11:13:05 +02:00
parent c7683a1a6e
commit 7f1dc7ccc9
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ export const lucia = new Lucia(adapter, {
sessionCookie: {
expires: false,
attributes: {
secure: env.RUNTIME_ENVIRONMENT === "prod",
secure: env.RUNTIME_ENVIRONMENT === "production",
},
},
getUserAttributes: (attributes) => {