Permalink
Browse files

fix connect middleware

  • Loading branch information...
1 parent 417cd46 commit 3691280cc06fc8ec2cbd7b177553717dff27b44a @ericz ericz committed Jan 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/now.js
View
1 lib/now.js
@@ -210,6 +210,7 @@ Now.prototype.initialize = function (server, options) {
if('use' in server && 'stack' in server && 'route' in server) {
server.use(function(req, res, next) {
self.sessions[req.sessionID] = req.session;
+ next();
});
}

0 comments on commit 3691280

Please sign in to comment.