1
0
Эх сурвалжийг харах

auto update script executed

Toby Chui 1 жил өмнө
parent
commit
0421f2c377

+ 0 - 2
mod/dynamicproxy/dpcore/utils.go

@@ -1,7 +1,6 @@
 package dpcore
 
 import (
-	"fmt"
 	"net/url"
 	"strings"
 )
@@ -29,7 +28,6 @@ func replaceLocationHost(urlString string, rrr *ResponseRewriteRuleSet, useTLS b
 	// The later check bypass apache screw up method of redirection header
 	// e.g. https://imuslab.com -> http://imuslab.com:443
 	if rrr.ProxyDomain != u.Host && !strings.Contains(u.Host, rrr.OriginalHost+":") {
-		fmt.Println(rrr.ProxyDomain, u.Host, rrr.OriginalHost)
 		//New location domain not matching proxy target domain.
 		//Do not modify location header
 		return urlString, nil