diff --git a/server/middlewares/security.js b/server/middlewares/security.js index 7b5fb40acc..4f2e4e8fd0 100644 --- a/server/middlewares/security.js +++ b/server/middlewares/security.js @@ -33,7 +33,7 @@ module.exports = function (req, res, next) { // -> Enforce HSTS if (WIKI.config.security.securityHSTS) { - res.set('Strict-Transport-Security', `max-age=${WIKI.config.securityHSTSDuration}; includeSubDomains`) + res.set('Strict-Transport-Security', `max-age=${WIKI.config.security.securityHSTSDuration}; includeSubDomains`) } // -> Prevent Open Redirect from user provided URL