Преглед на файлове

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