aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.js b/app.js
index b173782..75cfdd9 100644
--- a/app.js
+++ b/app.js
@@ -8,7 +8,8 @@ const quotes = require("./quotes");
const app = express();
-app.use(session({ secret: "keyboard cat", resave: false, saveUninitialized: true, cookie: { secure: true } }));
+// TODO: Use secure: true in production
+app.use(session({ secret: "keyboard cat", resave: false, saveUninitialized: true, cookie: { secure: false } }));
app.use(express.urlencoded({ extended: true }));
app.use(express.json());