Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
b65f5f2a03
1 changed files with 1 additions and 1 deletions
  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