Permalink
Browse files

Added Express 2.0 support

  • Loading branch information...
1 parent 359f725 commit 9c1f3981fc1791601eb83c191e033d0f44531f6a @tj committed Mar 4, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 index.js
View
@@ -10,7 +10,9 @@
*/
var express = require('express')
- , Server = express.Server;
+ , Server = express.HTTPServer
+ ? express.HTTPServer
+ : express.Server;
// Proxy listen

0 comments on commit 9c1f398

Please sign in to comment.