Skip to content

Commit

Permalink
Merge pull request #143 from biobricks/devel
Browse files Browse the repository at this point in the history
remove explicit default port
  • Loading branch information
macbre authored Dec 5, 2017
2 parents cc6911b + f8028db commit 2470f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ module.exports = ( function () {
},
api = function ( options ) {
this.protocol = options.protocol || 'http';
this.port = options.port || ( this.protocol === 'https' ? 443 : 80 );
this.port = options.port;
this.server = options.server;
this.path = options.path;
this.proxy = options.proxy;
Expand Down

0 comments on commit 2470f9d

Please sign in to comment.