diff --git a/lex.js b/lex.js index 11a3e5a..4f8fc23 100644 --- a/lex.js +++ b/lex.js @@ -23,8 +23,10 @@ module.exports.create = function (opts) { var ports = port; var servers = []; - if (!plainPorts || !ports) { + if (!plainPorts) { plainPorts = 80; + } + if (!ports) { ports = 443; }