fix missing downloads for redirects

pull/24/head
Akhil Gupta 4 years ago
parent cebd5daf02
commit 65aeb076a6

@ -164,7 +164,7 @@ func addFileToTarWriter(filePath string, tarWriter *tar.Writer) error {
func httpClient() *http.Client {
client := http.Client{
CheckRedirect: func(r *http.Request, via []*http.Request) error {
r.URL.Opaque = r.URL.Path
// r.URL.Opaque = r.URL.Path
return nil
},
}

Loading…
Cancel
Save