diff --git a/probes/https-outbound-probe.js b/probes/https-outbound-probe.js index b6518737..30f33ec1 100644 --- a/probes/https-outbound-probe.js +++ b/probes/https-outbound-probe.js @@ -119,7 +119,7 @@ function formatURL(httpsOptions) { if (httpsOptions.host) { url += httpsOptions.host; } else if (httpsOptions.hostname) { - url += httpsOptions.host; + url += httpsOptions.hostname; } else { url += 'localhost'; }