From 470d1d58fa11629127cc7a04a4cca6103a61b63c Mon Sep 17 00:00:00 2001 From: wjqserver <114663932+WJQSERVER@users.noreply.github.com> Date: Thu, 27 Mar 2025 11:20:39 +0800 Subject: [PATCH] fix matcher issue --- proxy/match.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/match.go b/proxy/match.go index 7aa33dc..bcab7bc 100644 --- a/proxy/match.go +++ b/proxy/match.go @@ -182,7 +182,7 @@ func modifyURL(url string, host string, cfg *config.Config) string { } if matched { var u = url - u := strings.TrimPrefix(u, "https://") + u = strings.TrimPrefix(u, "https://") u = strings.TrimPrefix(u, "http://") logDump("Modified URL: %s", "https://"+host+"/"+u) return "https://" + host + "/" + u