diff --git a/config/lib/express.js b/config/lib/express.js index 93303517b6..c3a8a87021 100644 --- a/config/lib/express.js +++ b/config/lib/express.js @@ -141,14 +141,13 @@ module.exports.initModulesConfiguration = function (app, db) { */ module.exports.initHelmetHeaders = function (app) { // Use helmet to secure Express headers - var SIX_MONTHS = 15778476000; + var SIX_MONTHS = 15778476; app.use(helmet.frameguard()); app.use(helmet.xssFilter()); app.use(helmet.noSniff()); app.use(helmet.ieNoOpen()); app.use(helmet.hsts({ maxAge: SIX_MONTHS, - includeSubdomains: true, force: true })); app.disable('x-powered-by');