Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
9ec45a0e05
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mod/dynamicproxy/proxyRequestHandler.go

+ 2 - 1
mod/dynamicproxy/proxyRequestHandler.go

@@ -2,6 +2,7 @@ package dynamicproxy
 
 import (
 	"errors"
+	"fmt"
 	"log"
 	"net"
 	"net/http"
@@ -49,7 +50,7 @@ func (router *Router) rewriteURL(rooturl string, requestURL string) string {
 	rewrittenURL = strings.TrimPrefix(rewrittenURL, rooturl)
 	rewrittenURL = strings.TrimPrefix(rewrittenURL, "http://"+rooturl)
 	rewrittenURL = strings.TrimPrefix(rewrittenURL, "https://"+rooturl)
-
+	fmt.Println("REWRITE >> ", rewrittenURL)
 	return rewrittenURL
 }