mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-30 10:56:28 +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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
transport := &http.Transport{
|
transport := http.DefaultTransport.(*http.Transport).Clone()
|
||||||
TLSClientConfig: client.cfg.tlsConfig,
|
transport.TLSClientConfig = client.cfg.tlsConfig
|
||||||
}
|
|
||||||
hc := &http.Client{
|
hc := &http.Client{
|
||||||
Transport: transport,
|
Transport: transport,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue