From f47e0aef2d42b65b57215f64c26a462fea25e71f Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 1 Feb 2023 14:01:18 +0000 Subject: [PATCH] yea qwq --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index f84a8e54..78145679 100644 --- a/server.js +++ b/server.js @@ -115,7 +115,7 @@ this is our config file,you can change stuff here }); app.use(function (request, response, next) { - if (config.enablealwayshttps == true) { + if (config.enablealwayshttps) { if (process.env.NODE_ENV != "development" && !request.secure) { return response.redirect( "https://" + request.headers.host + request.url