Skip to content

Commit

Permalink
Merge pull request #2492 from zhullyb/master
Browse files Browse the repository at this point in the history
fix: switch ghproxy.com to mirror.ghproxy.com
  • Loading branch information
fumiama committed Nov 22, 2023
2 parents fcf79de + e1a4293 commit 9cccd0e
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 9cccd0e

Please sign in to comment.