mirror of
https://github.com/status-im/codimd.git
synced 2025-01-26 08:18:56 +00:00
use new parameter in hsts
Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
67491af2a1
commit
019196484a
@ -105,7 +105,7 @@ const sessionStore = new SequelizeStore({
|
||||
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…
x
Reference in New Issue
Block a user