Skip to content

Commit

Permalink
feat: initializes proxy for Transport if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpailloncy committed Jan 24, 2025
1 parent c493250 commit 2865142
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func NewClient(config *Config) (*Client, error) {
Timeout: reqTimeout / 2,
}).DialContext,
TLSHandshakeTimeout: reqTimeout / 2,
Proxy: http.ProxyFromEnvironment,
}

// Create an GitHub App installation authenticated clone of transport.
Expand Down

0 comments on commit 2865142

Please sign in to comment.