Skip to content

Commit

Permalink
Use standard bucket URL to avoid TLS issues (#151)
Browse files Browse the repository at this point in the history
Fix for #150.
  • Loading branch information
koxu1996 authored Sep 17, 2022
1 parent f6d2357 commit b4536cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func getURL(base string, public bool, publicURL string) (string, error) {
if public && publicURL != "" {
return publicURL, nil
} else if public {
return fmt.Sprintf("https://%s.storage.googleapis.com/%s", baseURL.Host, baseURL.Path), nil
return fmt.Sprintf("https://storage.googleapis.com/%s/%s", baseURL.Host, baseURL.Path), nil
}
return baseURL.String(), nil
}
Expand Down

0 comments on commit b4536cc

Please sign in to comment.