dont proxy to settings.php as its dead

This commit is contained in:
bel
2020-01-26 18:36:38 +00:00
parent 6733ccd4b8
commit 4c3a508b84

View File

@@ -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)
}