We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7119ea9 commit 96980e4Copy full SHA for 96980e4
internal/api/api.go
@@ -108,8 +108,8 @@ func buildTransport(opts ClientOpts, flags *Flags) http.RoundTripper {
108
tp.TLSClientConfig = &tls.Config{}
109
}
110
111
- if opts.ProxyPath != "" || opts.ProxyURL != nil {
112
- tp = withProxyTransport(transport, opts.ProxyURL, opts.ProxyPath)
+ if opts.ProxyURL != nil || opts.ProxyPath != "" {
+ tp = withProxyTransport(tp, opts.ProxyURL, opts.ProxyPath)
113
114
115
transport = tp
0 commit comments