mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 10:18:16 +00:00
updated use of environment variables to utilize await
This commit is contained in:
@@ -107,7 +107,7 @@ const main = async () => {
|
||||
|
||||
app.use(requestIp.mw());
|
||||
app.use(session({
|
||||
secret: getSessionSecret(),
|
||||
secret: await getSessionSecret(),
|
||||
resave: false, // don't save session if unmodified
|
||||
saveUninitialized: false, // don't create session until something stored
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user