Explorar o código

auto update script executed

Toby Chui hai 1 ano
pai
achega
6275ea0b15
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

@@ -75,7 +75,7 @@ func NewDynamicProxyCore(target *url.URL, prepender string) *ReverseProxy {
 	director := func(req *http.Request) {
 		req.URL.Scheme = target.Scheme
 		//req.URL.Host = target.Host
-		req.URL.Path = singleJoiningSlash(target.Path, req.URL.Path)
+		//req.URL.Path = singleJoiningSlash(target.Path, req.URL.Path)
 
 		// If Host is empty, the Request.Write method uses
 		// the value of URL.Host.