Skip to content

Commit

Permalink
fix: switch ghproxy.com to mirror.ghproxy.com
Browse files Browse the repository at this point in the history
ghproxy.com 已经被墙,根据其网页上的通知应当更换为二级域名 mirror.ghproxy.com,或考虑使用别的反代服务
  • Loading branch information
zhullyb committed Nov 14, 2023
1 parent fcf79de commit e1a4293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gocq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func getRemoteLatestProtocolVersion(protocolType int) ([]byte, error) {
}
response, err := download.Request{URL: url}.Bytes()
if err != nil {
return download.Request{URL: "https://ghproxy.com/" + url}.Bytes()
return download.Request{URL: "https://mirror.ghproxy.com/" + url}.Bytes()
}
return response, nil
}
Expand Down

0 comments on commit e1a4293

Please sign in to comment.