fix: format
This commit is contained in:
@@ -52,7 +52,7 @@ app.use(
|
|||||||
secret: 'mx-session',
|
secret: 'mx-session',
|
||||||
resave: false, // Do not resave the session if it hasn't changed
|
resave: false, // Do not resave the session if it hasn't changed
|
||||||
saveUninitialized: true, // Save new sessions
|
saveUninitialized: true, // Save new sessions
|
||||||
cookie: {
|
cookie: {
|
||||||
secure: false, // Set to true if using HTTPS
|
secure: false, // Set to true if using HTTPS
|
||||||
maxAge: 24 * 60 * 60 * 1000, // 1-day session expiration
|
maxAge: 24 * 60 * 60 * 1000, // 1-day session expiration
|
||||||
},
|
},
|
||||||
@@ -178,7 +178,7 @@ process.on('SIGINT', async () => {
|
|||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
console.error('Error updating runs:', error);
|
console.error('Error updating runs:', error);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isProduction) {
|
if (!isProduction) {
|
||||||
if (workerProcess) workerProcess.kill();
|
if (workerProcess) workerProcess.kill();
|
||||||
if (recordingWorkerProcess) recordingWorkerProcess.kill();
|
if (recordingWorkerProcess) recordingWorkerProcess.kill();
|
||||||
|
|||||||
Reference in New Issue
Block a user