From 18e919113fd8a51182834440cdd83aafeab8345f Mon Sep 17 00:00:00 2001 From: ken Date: Sun, 6 Apr 2025 12:01:08 +0800 Subject: [PATCH] =?UTF-8?q?api=5Fkey=E9=AA=8C=E8=AF=81=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agent/apikey.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/agent/apikey.go b/src/agent/apikey.go index 4ddad57..24e7099 100644 --- a/src/agent/apikey.go +++ b/src/agent/apikey.go @@ -1,7 +1,6 @@ package agent import ( - "fmt" "net/http" "strings" ) @@ -21,7 +20,6 @@ func (a *keyChecker) check(c *client, r *http.Request) bool { apikey = r.RequestURI[i+len("api_key="):] } } - fmt.Printf("apikey = %s\n", apikey) if len(apikey) > 0 && strings.HasPrefix(apikey, "simpletest2025_") { c.setApiKey(apikey) return true