Explorar o código

auto update script executed

Toby Chui %!s(int64=2) %!d(string=hai) anos
pai
achega
b65f5f2a03
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mod/dynamicproxy/dpcore/dpcore.go

+ 1 - 1
mod/dynamicproxy/dpcore/dpcore.go

@@ -76,7 +76,7 @@ func NewDynamicProxyCore(target *url.URL, prepender string) *ReverseProxy {
 		fmt.Println(target.Host, target.Path, req.URL.Path)
 
 		req.URL.Scheme = target.Scheme
-		req.URL.Host = target.Host
+		//req.URL.Host = target.Host
 		req.URL.Path = singleJoiningSlash(target.Path, req.URL.Path)
 
 		// If Host is empty, the Request.Write method uses