Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/podgrab/commit/65aeb076a6bb7591753a62c0088724eeb2885a3a You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix missing downloads for redirects

pull/24/head
Akhil Gupta 5 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