Skip to content

Commit

Permalink
Merge pull request #128 from lucab/ups/remote-http
Browse files Browse the repository at this point in the history
remote: allow plaintext HTTP in base URLs
  • Loading branch information
Luca Bruno committed Apr 18, 2019
2 parents cc49643 + afaf28f commit e1ded85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/torcx/remote.go
Expand Up @@ -256,7 +256,7 @@ func NewRemotesCache(ctx context.Context, usrMountpoint string, baseDirs []strin
}
var manifest string
switch url.Scheme {
case "https":
case "https", "http":
tries := 0
for {
tries++
Expand Down

0 comments on commit e1ded85

Please sign in to comment.