From 4bb1a26b16f1b382b4aaa9894a6f9c3638d5c17d Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 12 Apr 2023 02:26:29 +0200 Subject: [PATCH] chore: remove println --- gateway/handler.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/gateway/handler.go b/gateway/handler.go index 399bebb18..97e76e7b2 100644 --- a/gateway/handler.go +++ b/gateway/handler.go @@ -737,7 +737,6 @@ func handleServiceWorkerRegistration(r *http.Request) (err *ErrorResponse) { // handleIpnsB58mhToCidRedirection redirects from /ipns/b58mh to /ipns/cid in // the most cost-effective way. func handleIpnsB58mhToCidRedirection(w http.ResponseWriter, r *http.Request) bool { - fmt.Println(w.Header().Get("Location")) if w.Header().Get("Location") != "" { // Ignore this if there is already a redirection in place. This happens // if there is a subdomain redirection. In that case, the path is already @@ -746,7 +745,6 @@ func handleIpnsB58mhToCidRedirection(w http.ResponseWriter, r *http.Request) boo } pathParts := strings.Split(r.URL.Path, "/") - fmt.Println(pathParts) if len(pathParts) < 3 { return false }