From f570529af6f0d14a0590ab43e7607f8e52ea6fdd Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Fri, 8 Nov 2019 20:57:31 +0000 Subject: [PATCH] Remove debug statement --- redirect.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/redirect.go b/redirect.go index 264efde..3987172 100644 --- a/redirect.go +++ b/redirect.go @@ -1,7 +1,6 @@ package dynamiclistener import ( - "fmt" "net" "net/http" "strconv" @@ -12,7 +11,6 @@ import ( func HTTPRedirect(next http.Handler) http.Handler { return http.HandlerFunc( func(rw http.ResponseWriter, r *http.Request) { - fmt.Println("!!!!!", r.URL.String(), r.Header) if r.Header.Get("x-Forwarded-Proto") == "https" || r.Header.Get("x-Forwarded-Proto") == "wss" || strings.HasPrefix(r.URL.Path, "/ping") ||