Skip to content

Commit 339062c

Browse files
author
Luca Forstner
committed
Clarify proxy order for http
1 parent dd939ff commit 339062c

File tree

1 file changed

+1
-0
lines changed
  • packages/node/src/transports

1 file changed

+1
-0
lines changed

packages/node/src/transports/new.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export function makeNodeTransport(options: NodeTransportOptions): NewTransport {
3838
const urlSegments = new URL(options.url);
3939
const isHttps = urlSegments.protocol === 'https:';
4040

41+
// Proxy prioritization: http => `options.proxy` | `process.env.http_proxy`
4142
// Proxy prioritization: https => `options.proxy` | `process.env.https_proxy` | `process.env.http_proxy`
4243
const proxy = applyNoProxyOption(
4344
urlSegments,

0 commit comments

Comments
 (0)