Skip to content

Commit 029d6a8

Browse files
use host instead of hostname in http request options
1 parent 5b1ee02 commit 029d6a8

File tree

1 file changed

+1
-1
lines changed
  • packages/solarwinds-apm/src/exporters

1 file changed

+1
-1
lines changed

packages/solarwinds-apm/src/exporters/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const agentFactory =
7575

7676
const req = (request as typeof https.request)({
7777
method: "CONNECT",
78-
hostname: proxy.hostname,
78+
host: proxy.hostname,
7979
port: proxy.port,
8080
path: `${host}:${port}`,
8181
headers,

0 commit comments

Comments
 (0)