Skip to content

Commit

Permalink
fix the message for the proxy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
52funny committed Mar 16, 2023
1 parent 894c504 commit 9da0075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func InitConfig(path string) error {
// not empty
// not contains '://'
if len(Config.Proxy) != 0 && !strings.Contains(Config.Proxy, "://") {
return fmt.Errorf("proxy should start with http://")
return fmt.Errorf("proxy should contains ://")
} else if len(Config.Proxy) != 0 {
UseProxy = true
}
Expand Down

0 comments on commit 9da0075

Please sign in to comment.