From b818b78f1f8e9e3c19be35f61ea056f5c36a7bfc Mon Sep 17 00:00:00 2001 From: achul123 <73477238+achul123@users.noreply.github.com> Date: Sun, 7 Jul 2024 19:22:01 +0200 Subject: [PATCH] Uhmm i, idk --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bdf9874..58b4ae1 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ const app = express(); require('express-ws')(app); // Middleware setup -app.use(cookieParser()); +app.use(cookieParser(settings.website.secret)); app.use(session({ secret: settings.website.secret, resave: false,