Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yveswehrli committed Oct 29, 2023
1 parent ce93614 commit 3b6c03d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/backend/src/main.ts
Expand Up @@ -11,7 +11,10 @@ async function bootstrap() {
secret: 'my-secret',
resave: false,
saveUninitialized: false,
cookie: { secure: true },
cookie: {
secure: 'auto',
maxAge: 1000 * 60 * 60 * 2,
},
}),
);
app.use(passport.initialize());
Expand Down

0 comments on commit 3b6c03d

Please sign in to comment.