feat: Enhance comment management functionality in blog module

This commit is contained in:
Wini_Fy
2026-02-04 15:33:34 +07:00
parent c098043b44
commit 6dcfd19432
7 changed files with 850 additions and 23 deletions

View File

@@ -62,7 +62,7 @@ app.use(
app.use(
session({
secret: process.env.SESSION_SECRET || "secret",
resave: false,
resave: true,
saveUninitialized: false,
cookie: { maxAge: 1000 * 60 * 60 * 24 }, // 24 hours
}),