Comparing version 1.0.34 to 1.0.35
@@ -64,3 +64,3 @@ "use strict"; | ||
client: redisClient, | ||
prefix: config.prefix + ":" || "session:", | ||
prefix: "".concat(config.prefix || 'session', ":"), | ||
ttl: options.cookie.maxAge / 1000, | ||
@@ -67,0 +67,0 @@ logErrors: function logErrors(error) { |
{ | ||
"name": "vweb-mvc", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "mvc ", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
@@ -38,3 +38,3 @@ const session = require("express-session"); | ||
client: redisClient, | ||
prefix: config.prefix + ":" || "session:", | ||
prefix: `${config.prefix||'session'}:`, | ||
ttl: options.cookie.maxAge / 1000, | ||
@@ -48,2 +48,2 @@ logErrors: function (error) { | ||
return session(options) | ||
}; | ||
}; |
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
104847
2678