mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-28 02:13:42 +00:00
Fix deprecation warning of "includeSubDomains"
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
6e6ce29de3
commit
4b0e997094
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) {
|
if (config.hsts.enable) {
|
||||||
app.use(helmet.hsts({
|
app.use(helmet.hsts({
|
||||||
maxAge: config.hsts.maxAgeSeconds,
|
maxAge: config.hsts.maxAgeSeconds,
|
||||||
includeSubdomains: config.hsts.includeSubdomains,
|
includeSubDomains: config.hsts.includeSubdomains,
|
||||||
preload: config.hsts.preload
|
preload: config.hsts.preload
|
||||||
}))
|
}))
|
||||||
} else if (config.useSSL) {
|
} else if (config.useSSL) {
|
||||||
|
|
Loading…
Reference in a new issue