Allow non-tls config downloading

This commit is contained in:
Daniel Nelson 2019-01-04 10:40:44 -08:00
parent 0afa99c17b
commit 4fd5fa006b
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ func loadConfig(config string) ([]byte, error) {
} }
switch u.Scheme { switch u.Scheme {
case "https": // http not permitted case "https", "http":
return fetchConfig(u) return fetchConfig(u)
default: default:
// If it isn't a https scheme, try it as a file. // If it isn't a https scheme, try it as a file.