From ccb1931d020637ed69d5a2d1acda15eaebc9c43e Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 11 Sep 2023 13:02:47 +0300 Subject: [PATCH] fix env --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 9c344e0..0c1a558 100644 --- a/server.js +++ b/server.js @@ -28,7 +28,7 @@ const upload = multer({ storage: storage }); app.use( session({ - secret: process.env.SSH_PORT, + secret: process.env.SEKRET, resave: false, saveUninitialized: true, cookie: { maxAge: 24 * 60 * 60 * 1000 },