Commit 5edcdba8e38d91379ccd4f2658460bfc59712b9a
1 parent
934897b153
Exists in
master
typo
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
index.js
... | ... | @@ -14,7 +14,7 @@ for (let i=0; i < hostsCount; i++) { |
14 | 14 | let host = config.hosts[i] |
15 | 15 | console.log(`Registering ${host.host} to ${host.target}`); |
16 | 16 | if (!host.disable) { |
17 | - const options = host.options ? config.default_host_options; | |
17 | + const options = host.options || config.default_host_options; | |
18 | 18 | if (!options) { |
19 | 19 | redbird.register(host.host, host.target); |
20 | 20 | } |