Skip to content

Commit

Permalink
proxy host 报错提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Becivells committed Sep 10, 2021
1 parent cc192e9 commit c2f0d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/options/validata.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (options *Options) validataProxySite() {

addr, port, err := utils.SplitHost(host)
if err != nil {
panic(err)
log.Fatal("Proxy host: %s format error must have port eg(127.0.0.1:80,www.xxx.com:80)", addr)
}
if !utils.IsHost(addr) {
log.Fatal("Proxy host is not ip or host please check host: %s,Addr: %s", host, addr)
Expand Down

0 comments on commit c2f0d60

Please sign in to comment.