Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 20f9cb72 authored by 65160394's avatar 65160394
Browse files

Project Round 2

parent c371ff98
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ app.use(session({ ...@@ -17,7 +17,7 @@ app.use(session({
secret: 'bankkhabb', // เปลี่ยนเป็นค่า secret ของคุณ secret: 'bankkhabb', // เปลี่ยนเป็นค่า secret ของคุณ
resave: false, resave: false,
saveUninitialized: true, saveUninitialized: true,
cookie: { secure: false } // ถ้าใช้ HTTPS เปลี่ยนเป็น true cookie: { secure: true } // ถ้าใช้ HTTPS เปลี่ยนเป็น true
})); }));
// Routes // Routes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment