Merge pull request 'feat: Enhance comment management functionality in blog module' (#15) from fea/thanh-02022026-news into main

Reviewed-on: UKSOURCE/cms.hailearning.edu.vn#15
This commit is contained in:
2026-02-04 08:37:50 +00:00
7 changed files with 850 additions and 23 deletions

View File

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