mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-20 17:53:03 +00:00
Merge pull request #565 from codimd/fix/hsts-subdomains-warning
Fix deprecation warning of "includeSubDomains"
This commit is contained in:
commit
e191bde013
1 changed files with 1 additions and 1 deletions
2
app.js
2
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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue