From 8fede492c86d976f4e9bcf55ca69cfd475ecb5d9 Mon Sep 17 00:00:00 2001 From: itayw Date: Mon, 31 Mar 2014 15:35:09 +0300 Subject: [PATCH] #51 minor typo. --- lib/common/dispatch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/dispatch.js b/lib/common/dispatch.js index 292c0d3..1ab251a 100644 --- a/lib/common/dispatch.js +++ b/lib/common/dispatch.js @@ -23,7 +23,7 @@ dispatch.buildstub = function (callback) { var parts = require('url').parse(joolaio.options.host); var port = parts.port; if (!port) - port = parts.protocol === 'http' ? 80 : 443; + port = parts.protocol === 'http:' ? 80 : 443; var options = { host: parts.hostname, port: port,