Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: change session config (#5289)
Mir Arif Hasanf5aee5944850
diff --git a/packages/hoppscotch-backend/src/main.ts b/packages/hoppscotch-backend/src/main.tsindex de686b52c..b300d08f8 100644--- a/packages/hoppscotch-backend/src/main.ts+++ b/packages/hoppscotch-backend/src/main.ts@@ -51,17 +51,10 @@ async function bootstrap() {secret:configService.get('INFRA.SESSION_SECRET') ||crypto.randomBytes(16).toString('hex'),- resave: false,- saveUninitialized: false,- cookie: {- httpOnly: true,- secure: configService.get('INFRA.ALLOW_SECURE_COOKIES') === 'true',- sameSite: 'lax',- },}),);- // Increase fil upload limit to 50MB+ // Increase file upload limit to 100MBapp.use(json({limit: '100mb',