diff options
author | David Mehren | 2020-11-12 19:02:45 +0100 |
---|---|---|
committer | GitHub | 2020-11-12 19:02:45 +0100 |
commit | e191bde0138c873958937768f41e76e06ad61ae3 (patch) | |
tree | 6b5f2cd864584ca3a5bb7be84bc282f68afe9537 | |
parent | db2fcdb516360fa1d5a6afb6963113756e4e1e9c (diff) | |
parent | 4b0e9970946f16452f77d4be0801d5737c026602 (diff) |
Merge pull request #565 from codimd/fix/hsts-subdomains-warning
Fix deprecation warning of "includeSubDomains"
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |