From 57f2030d4e9d0e4d60a5367fcf3955a7c56cc66e 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 6ee0d9c9d..0b7d75e86 100644 --- a/cmd/gocq/main.go +++ b/cmd/gocq/main.go @@ -483,7 +483,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 }