Comparing version 2.1.0 to 2.2.0
@@ -8,3 +8,4 @@ const expressSession = require('express-session'); | ||
ttl = 30000, | ||
sessionStore | ||
sessionStore, | ||
cookieOptions = {} | ||
} = {}) => { | ||
@@ -22,3 +23,4 @@ if (!sessionStore) { | ||
cookie: { | ||
secure: 'auto' | ||
secure: 'auto', | ||
...cookieOptions | ||
}, | ||
@@ -25,0 +27,0 @@ key: cookieName, |
{ | ||
"name": "hmpo-app", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Bootstrap middleware and templating", | ||
@@ -47,3 +47,3 @@ "author": "HMPO", | ||
"hmpo-i18n": "^5.0.1", | ||
"hmpo-logger": "^6.0.0", | ||
"hmpo-logger": "^6.1.0", | ||
"hmpo-node-standards": "^1.11.2", | ||
@@ -50,0 +50,0 @@ "husky": "^2.7.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134951
65
3077
40