switch from RUNTIME_ENVIRONMENT to standard NODE_ENV
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user