From 77530f169916b2cb4d795a459594d9e4ca421dbe Mon Sep 17 00:00:00 2001 From: starry <115192496+sky22333@users.noreply.github.com> 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