Merge pull request #106 from WORMSS/patch-1

Fix for #104
This commit is contained in:
AJ ONeal 2016-12-22 13:28:08 -07:00 committed by GitHub
commit bacaad9092
1 changed files with 3 additions and 1 deletions

4
lex.js
View File

@ -23,8 +23,10 @@ module.exports.create = function (opts) {
var ports = port; var ports = port;
var servers = []; var servers = [];
if (!plainPorts || !ports) { if (!plainPorts) {
plainPorts = 80; plainPorts = 80;
}
if (!ports) {
ports = 443; ports = 443;
} }