Permalink
Browse files

https server options fix

  • Loading branch information...
owner owner
owner authored and owner committed Dec 19, 2012
1 parent 7263a82 commit 4b578f7aa3e29920f08e816243dc5876eb7111da
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);

0 comments on commit 4b578f7

Please sign in to comment.