From e1a4293ee6f424e1cac27ce422636b58ba4a9f00 Mon Sep 17 00:00:00 2001 From: zhullyb Date: Tue, 14 Nov 2023 11:07:27 +0800 Subject: [PATCH] fix: switch ghproxy.com to mirror.ghproxy.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ghproxy.com 已经被墙,根据其网页上的通知应当更换为二级域名 mirror.ghproxy.com,或考虑使用别的反代服务 --- cmd/gocq/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gocq/main.go b/cmd/gocq/main.go index 736c4f2e8..c24562a35 100644 --- a/cmd/gocq/main.go +++ b/cmd/gocq/main.go @@ -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 }