From 4c3a508b845f6744c938cbe3a4e0efc31c2bce5b Mon Sep 17 00:00:00 2001 From: bel Date: Sun, 26 Jan 2020 18:36:38 +0000 Subject: [PATCH] dont proxy to settings.php as its dead --- server/routes.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/routes.go b/server/routes.go index a61ab3b..167f5dd 100755 --- a/server/routes.go +++ b/server/routes.go @@ -95,7 +95,8 @@ func (s *Server) phpProxy(w http.ResponseWriter, r *http.Request) { if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) } else { - log.Println("proxying", url.String(), r.URL.Path) + log.Println("WOULD proxy", url.String(), r.URL.Path) + s.index(w, r) //proxy := httputil.NewSingleHostReverseProxy(url) //proxy.ServeHTTP(w, r) }