Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow pfx for ssl

  • Loading branch information...
commit ba8513137d4b51537232ff4e6b79a0a1aed7d544 1 parent 0f4c521
@substack authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  index.js
  2. +1 −1  package.json
View
2  index.js
@@ -16,7 +16,7 @@ module.exports = function (opts, cb) {
if (!opts) opts = {};
if (typeof opts === 'object' && opts.listen) opts = { server: opts };
- var ssl = Boolean(opts.key && opts.cert);
+ var ssl = Boolean(opts.key || opts.pfx);
var connectionEvent = ssl ? 'secureConnection' : 'connection';
var server = opts.server || (ssl
View
2  package.json
@@ -1,7 +1,7 @@
{
"name" : "bouncy",
"description" : "route incoming http requests to http servers",
- "version" : "3.1.0",
+ "version" : "3.1.1",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/bouncy.git"
Please sign in to comment.
Something went wrong with that request. Please try again.