1
0
mirror of https://github.com/umputun/reproxy.git synced 2025-02-22 18:42:01 +02:00

extend no match WARN

This commit is contained in:
Umputun 2021-04-28 14:47:53 -05:00
parent 9b9d64894d
commit 06e78b81d4

View File

@ -183,7 +183,7 @@ func (h *Http) proxyHandler() http.HandlerFunc {
// default assetsHandler disabled, returns error on missing matches // default assetsHandler disabled, returns error on missing matches
assetsHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { assetsHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
log.Printf("[WARN] mo match for %s", r.URL) log.Printf("[WARN] no match for %s %s", r.URL.Hostname(), r.URL.Path)
http.Error(w, "Server error", http.StatusBadGateway) http.Error(w, "Server error", http.StatusBadGateway)
}) })