瀏覽代碼

auto update script executed

Toby Chui 1 年之前
父節點
當前提交
6275ea0b15
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.