From c3313aa25e7fc399649a5b54d9ee438e3ef0a102 Mon Sep 17 00:00:00 2001 From: Zhehao Date: Wed, 13 Dec 2023 16:41:47 -0800 Subject: [PATCH] Very good job! I barely can find something to improve. Maybe we don't need to store session if nothing is modified. --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 07d642e..15a4cde 100644 --- a/app.js +++ b/app.js @@ -26,7 +26,7 @@ app.use( session({ secret: "my_secret_key", resave: false, - saveUninitialized: true, + saveUninitialized: false, }), );