diff --git a/pkg/config.go b/pkg/config.go index cea5bff..53f31d1 100644 --- a/pkg/config.go +++ b/pkg/config.go @@ -70,7 +70,7 @@ func initConfig() Config { } // Scheme must be http or https - if *scheme != "https" && *scheme != "http" { + if *scheme != "https" && *scheme != "http" && *scheme != "" { log.Fatalf("Error: scheme must be http or https. Got: %s\n", *scheme) }