Commit 40c4d6619dc7d8fdeb2b2ec44a7a7cc0b567dfb6
1 parent
ad442cb2f3
Exists in
master
Quickfix for a typo
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
index.js
... | ... | @@ -19,13 +19,13 @@ for (let i=0; i < hostsCount; i++) { |
19 | 19 | const options = host.options || config.default_host_options; |
20 | 20 | const optionsWoSSL = JSON.parse(JSON.stringify(options)); |
21 | 21 | delete optionsWoSSL.ssl; |
22 | - | |
22 | + | |
23 | 23 | if (!options) { |
24 | 24 | redbird.register(host.host, host.target); |
25 | 25 | } |
26 | 26 | else { |
27 | 27 | |
28 | - if isIp(URL.parse(host.host).hostname) { | |
28 | + if (isIp(URL.parse(host.host).hostname)) { | |
29 | 29 | redbird.register(host.host, host.target, optionsWoSSL); |
30 | 30 | } |
31 | 31 | else { |