Allow non-tls config downloading

This commit is contained in:
Daniel Nelson
2019-01-04 10:40:44 -08:00
parent 0afa99c17b
commit 4fd5fa006b

View File

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