This commit is contained in:
2022-02-23 11:43:58 +08:00
parent e92e9f612a
commit 1de0be23af

View File

@@ -94,6 +94,7 @@ func proxy(w http.ResponseWriter, r *http.Request, client *http.Client, pathname
} }
res, e := client.Do(req) res, e := client.Do(req)
if e != nil { if e != nil {
fmt.Println("Proxy Error: ", pathname, e)
http.Error(w, e.Error(), http.StatusOK) http.Error(w, e.Error(), http.StatusOK)
return return
} }