Browse Source

auto update script executed

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