Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Express 2.0 support

  • Loading branch information...
commit 9c1f3981fc1791601eb83c191e033d0f44531f6a 1 parent 359f725
TJ Holowaychuk authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 index.js
4 index.js
View
@@ -10,7 +10,9 @@
*/
var express = require('express')
- , Server = express.Server;
+ , Server = express.HTTPServer
+ ? express.HTTPServer
+ : express.Server;
// Proxy listen
Please sign in to comment.
Something went wrong with that request. Please try again.