From 4fd5fa006b4e9431b271ff350399bc1ebcb70930 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 4 Jan 2019 10:40:44 -0800 Subject: [PATCH] Allow non-tls config downloading --- internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 469b80ade..2a5f62708 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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.