From 4b0e9970946f16452f77d4be0801d5737c026602 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Wed, 11 Nov 2020 20:50:52 +0100 Subject: Fix deprecation warning of "includeSubDomains" Signed-off-by: Tilman Vatteroth --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3