Skip to content

Commit

Permalink
fix connect middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
ericz committed Jan 17, 2012
1 parent 417cd46 commit 3691280
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/now.js
Expand Up @@ -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();
});
}

Expand Down

0 comments on commit 3691280

Please sign in to comment.