Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'development'

  • Loading branch information...
commit 949f99892c2022a22c0c399c9e62d6be85650097 2 parents 3ab097c + bc87657
Amit Ambardekar authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/server.js
3  src/server.js
View
@@ -342,5 +342,8 @@ var port = process.env.PORT || 80;
console.log("Listening on port " + port);
+// Source: http://stackoverflow.com/questions/18461979/node-js-error-with-ssl-unable-to-verify-leaf-signature
+process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
+
var httpServer = http.createServer(getProtocolHandler("http:")).listen(port);
// var httpsServer = https.createServer(options.https, getProtocolHandler("https:")).listen(443);
Please sign in to comment.
Something went wrong with that request. Please try again.