提交 55a9fa3145f1afa08c18c8d1af51b3c7eaaebf05

作者 Bruno Bernardino
1 个父辈 6fe194fa

Undoing the redis thing.

正在显示 1 个修改的文件 包含 0 行增加5 行删除
@@ -6,11 +6,6 @@ var RedisStore = require('connect-redis')(session) @@ -6,11 +6,6 @@ var RedisStore = require('connect-redis')(session)
6 6
7 exports = module.exports = function(logger, settings) { 7 exports = module.exports = function(logger, settings) {
8 8
9 - // Allow not needing redis  
10 - if (!settings.redis) {  
11 - return false  
12 - }  
13 -  
14 var connection = new RedisStore(settings.redis) 9 var connection = new RedisStore(settings.redis)
15 10
16 connection.on('error', function(err) { 11 connection.on('error', function(err) {
注册登录 后发表评论