Showing
2 changed files
with
2 additions
and
2 deletions
@@ -66,7 +66,7 @@ var apiCofig = { | @@ -66,7 +66,7 @@ var apiCofig = { | ||
66 | }, | 66 | }, |
67 | useToEntry:function(app){ | 67 | useToEntry:function(app){ |
68 | if(process.env.NODE_ENV!="coding"){ | 68 | if(process.env.NODE_ENV!="coding"){ |
69 | - session.store=new RedisStore({ | 69 | + session.store=new Redis({ |
70 | port: 6379, | 70 | port: 6379, |
71 | host: 'localhost' | 71 | host: 'localhost' |
72 | }); | 72 | }); |
@@ -66,7 +66,7 @@ var apiCofig = { | @@ -66,7 +66,7 @@ var apiCofig = { | ||
66 | }, | 66 | }, |
67 | useToEntry:function(app){ | 67 | useToEntry:function(app){ |
68 | if(process.env.NODE_ENV!="coding"){ | 68 | if(process.env.NODE_ENV!="coding"){ |
69 | - session.store=new RedisStore({ | 69 | + session.store=new Redis({ |
70 | port: 6379, | 70 | port: 6379, |
71 | host: 'localhost' | 71 | host: 'localhost' |
72 | }); | 72 | }); |
-
Please register or login to post a comment