diff --git a/app.js b/app.js index 97eebcc07..90beefbef 100644 --- a/app.js +++ b/app.js @@ -91,7 +91,7 @@ app.use(compression()) if (config.hsts.enable) { app.use(helmet.hsts({ maxAge: config.hsts.maxAgeSeconds, - includeSubdomains: config.hsts.includeSubdomains, + includeSubDomains: config.hsts.includeSubdomains, preload: config.hsts.preload })) } else if (config.useSSL) {