From ae51086d23f7271239db8bd662abeffd91847cdd Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <me@adhisimon.org> Date: Mon, 11 Mar 2019 13:41:28 +0700 Subject: [PATCH] Debug --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 5a15bbd..b713b5b 100644 --- a/index.js +++ b/index.js @@ -26,9 +26,11 @@ for (let i=0; i < hostsCount; i++) { else { if (isIp(URL.parse(host.host).hostname)) { + console.log('Register ' + host.host + ' without SSL') redbird.register(host.host, host.target, optionsWoSSL); } else { + console.log('Register ' + host.host + ' with SSL if exists'); redbird.register(host.host, host.target, options); } -- 1.9.0