Skip to content

Commit

Permalink
解决奔溃的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
LubyRuffy committed Oct 14, 2022
1 parent 9279157 commit 9238c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func checkHost(host string) *proxyResult {
return checkProtocolHost("http", host+":80")
}
if strings.Contains(host, "443") {
if p := checkProtocolHost("https", host); p.Valid {
if p := checkProtocolHost("https", host); p != nil && p.Valid {
return p
}
} else {
Expand Down

0 comments on commit 9238c02

Please sign in to comment.