summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorTilman Vatteroth2020-11-11 20:50:52 +0100
committerTilman Vatteroth2020-11-11 22:48:40 +0100
commit4b0e9970946f16452f77d4be0801d5737c026602 (patch)
tree1e78ce9274a7a1e73a77b9eee406ad7f2f73b4bf /app.js
parent6e6ce29de3dc2ad34241b3c521289a39812b9076 (diff)
Fix deprecation warning of "includeSubDomains"
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 97eebcc0..90beefbe 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) {