|
@@ -209,6 +209,8 @@ func (h *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ fmt.Println(r.RequestURI)
|
|
|
|
+
|
|
targetProxyEndpoint := h.Parent.getTargetProxyEndpointFromRequestURI(r.RequestURI)
|
|
targetProxyEndpoint := h.Parent.getTargetProxyEndpointFromRequestURI(r.RequestURI)
|
|
if targetProxyEndpoint != nil {
|
|
if targetProxyEndpoint != nil {
|
|
h.proxyRequest(w, r, targetProxyEndpoint)
|
|
h.proxyRequest(w, r, targetProxyEndpoint)
|