mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 18:36:30 +02:00
authclient - use proxy from environment (#2316)
This commit is contained in:
parent
4ecb43454d
commit
93e735831f
1 changed files with 3 additions and 3 deletions
|
@ -119,9 +119,9 @@ func (client *AuthClient) runOpenBrowser(ctx context.Context, li net.Listener, s
|
|||
return err
|
||||
}
|
||||
|
||||
transport := &http.Transport{
|
||||
TLSClientConfig: client.cfg.tlsConfig,
|
||||
}
|
||||
transport := http.DefaultTransport.(*http.Transport).Clone()
|
||||
transport.TLSClientConfig = client.cfg.tlsConfig
|
||||
|
||||
hc := &http.Client{
|
||||
Transport: transport,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue