Unverified Commit e87d5119 authored by pylr's avatar pylr Committed by GitHub

fix: HSTS header max-age value (#3225)

parent 5ffa1893
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment