mirror of
https://github.com/umputun/reproxy.git
synced 2025-02-16 18:34:30 +02:00
extend no match WARN
This commit is contained in:
parent
9b9d64894d
commit
06e78b81d4
@ -183,7 +183,7 @@ func (h *Http) proxyHandler() http.HandlerFunc {
|
||||
|
||||
// default assetsHandler disabled, returns error on missing matches
|
||||
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)
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user