dont rewrite

master
Bel LaPointe 2020-07-31 23:15:58 -06:00
parent 9b0bccd9ca
commit 177e0d88da
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func (s *Server) Proxy(w http.ResponseWriter, r *http.Request) {
log.Printf("unknown host lookup %q", r.Host)
return
}
r.Host = newURL.Host
//r.Host = newURL.Host
proxy := httputil.NewSingleHostReverseProxy(newURL)
proxy.Transport = transport
proxy.ServeHTTP(w, r)