Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
be39047127
1 changed files with 0 additions and 3 deletions
  1. 0 3
      mod/dynamicproxy/dpcore/dpcore.go

+ 0 - 3
mod/dynamicproxy/dpcore/dpcore.go

@@ -2,7 +2,6 @@ package dpcore
 
 import (
 	"errors"
-	"fmt"
 	"io"
 	"log"
 	"net"
@@ -311,8 +310,6 @@ func (p *ReverseProxy) ProxyHTTP(rw http.ResponseWriter, req *http.Request, rrr
 			domainWithoutPort = strings.Split(rrr.ProxyDomain, ":")[0]
 		}
 
-		fmt.Println(rrr.OriginalHost)
-
 		//Replace the forwarded target with expected Host
 		locationRewrite = strings.ReplaceAll(locationRewrite, rrr.ProxyDomain, rrr.OriginalHost)
 		locationRewrite = strings.ReplaceAll(locationRewrite, domainWithoutPort, rrr.OriginalHost)