We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85c8418 commit c449109Copy full SHA for c449109
src/main.ts
@@ -107,18 +107,18 @@ async function bootstrap() {
107
store: MongoStore.create({
108
mongoUrl, // MongoDB connection string
109
collectionName: 'sessions', // Collection name for storing sessions
110
- ttl: 14 * 24 * 60 * 60, // Session TTL (14 days)
+ ttl: 24 * 60 * 60, // Session TTL (24 hours)
111
}),
112
cookie: {
113
- secure: true, // HTTPS-only in production
+ secure: true,
114
},
115
116
);
117
}
118
119
const port = configService.get<number>("port") ?? 3000;
120
Logger.log(
121
- "MongoDB URI : " + ,
+ "MongoDB URI : " + mongoUrl,
122
"Main",
123
124
Logger.log("Scicat Backend listening on port: " + port, "Main");
0 commit comments