()
| 37 | var tailnetTransport *http.Transport |
| 38 | |
| 39 | func init() { |
| 40 | tp, valid := http.DefaultTransport.(*http.Transport) |
| 41 | if !valid { |
| 42 | panic("dev error: default transport is the wrong type") |
| 43 | } |
| 44 | tailnetTransport = tp.Clone() |
| 45 | // We do not want to respect the proxy settings from the environment, since |
| 46 | // all network traffic happens over wireguard. |
| 47 | tailnetTransport.Proxy = nil |
| 48 | } |
| 49 | |
| 50 | var _ workspaceapps.AgentProvider = (*ServerTailnet)(nil) |
| 51 |