From 269ae4e32ad281be967c993778b6db60c0ac80a8 Mon Sep 17 00:00:00 2001 From: NewName Date: Wed, 25 Dec 2024 06:29:19 +0800 Subject: [PATCH] Update main.go --- ghproxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghproxy/main.go b/ghproxy/main.go index a0e5256..51a0a62 100644 --- a/ghproxy/main.go +++ b/ghproxy/main.go @@ -31,7 +31,7 @@ var ( regexp.MustCompile(`^(?:https?://)?api\.github\.com/repos/([^/]+)/([^/]+)/.*`), regexp.MustCompile(`^(?:https?://)?huggingface\.co/spaces/([^/]+)/([^/]+).*`), regexp.MustCompile(`^(?:https?://)?cdn-lfs\.hf\.co/repos/.+`), - regexp.MustCompile(`^(?:https?://)?download\.docker\.com/([^/]+)/.*\.(tgz|zip)$`) + regexp.MustCompile(`^(?:https?://)?download\.docker\.com/([^/]+)/.*\.(tgz|zip)$`), } httpClient *http.Client config *Config