diff --git a/internal/modproxy/modproxy.go b/internal/modproxy/modproxy.go index 0138836..1344de8 100644 --- a/internal/modproxy/modproxy.go +++ b/internal/modproxy/modproxy.go @@ -44,10 +44,6 @@ func Proxies() []string { func Request(path string, cached bool) (*http.Response, error) { var last *http.Response for _, proxy := range Proxies() { - proxy = strings.TrimSpace(proxy) - if proxy == "direct" { - continue - } url, err := neturl.JoinPath(proxy, path) req, err := http.NewRequest(http.MethodGet, url, nil) if err != nil {