浏览代码

auto update script executed

Toby Chui 2 年之前
父节点
当前提交
b65f5f2a03
共有 1 个文件被更改,包括 1 次插入1 次删除
  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