Skip to content

Commit f5aee59

Browse files
authored
chore: change session config (hoppscotch#5289)
1 parent 7864bae commit f5aee59

File tree

1 file changed

+1
-8
lines changed
  • packages/hoppscotch-backend/src

1 file changed

+1
-8
lines changed

packages/hoppscotch-backend/src/main.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,10 @@ async function bootstrap() {
5151
secret:
5252
configService.get('INFRA.SESSION_SECRET') ||
5353
crypto.randomBytes(16).toString('hex'),
54-
resave: false,
55-
saveUninitialized: false,
56-
cookie: {
57-
httpOnly: true,
58-
secure: configService.get('INFRA.ALLOW_SECURE_COOKIES') === 'true',
59-
sameSite: 'lax',
60-
},
6154
}),
6255
);
6356

64-
// Increase fil upload limit to 50MB
57+
// Increase file upload limit to 100MB
6558
app.use(
6659
json({
6760
limit: '100mb',

0 commit comments

Comments
 (0)