Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

https server options fix

  • Loading branch information...
commit 4b578f7aa3e29920f08e816243dc5876eb7111da 1 parent 7263a82
owner authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/httpsServer.js
4 lib/httpsServer.js
View
@@ -5,9 +5,9 @@ var Server = require("./server"),
exports = module.exports = HttpsServer;
-function HttpsServer(app, name) {
+function HttpsServer(options, app, name) {
this.app = app;
- HttpsServer.super_.call(this, https.createServer(app), app.get('port') || 443, name || 'HTTP Server');
+ HttpsServer.super_.call(this, https.createServer(options, app), app.get('port') || 443, name || 'HTTP Server');
};
util.inherits(HttpsServer, Server);
Please sign in to comment.
Something went wrong with that request. Please try again.