package checks, healthcheck, lot of cookie fiddling, some logging, bug fixing

This commit is contained in:
2024-12-28 12:17:39 -07:00
parent d999db53ae
commit 79060661a6
11 changed files with 368 additions and 351 deletions

View File

@@ -19,7 +19,7 @@ const isAuthenticated = (req, res, next) => {
const delSession = req.session.destroy((err) => {
if (err) {
res.sendStatus(500);
logger.error("Error while destroying session.", { err });
logger.error("session.destroy", { err });
return;
} else {
res.clearCookie(sessionName);