Skip to content

Commit

Permalink
hotfix scheme check.
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlicd committed Sep 14, 2023
1 parent b5989cc commit 1758105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 1758105

Please sign in to comment.