diff --git a/srv.go b/srv.go index a4defe2..b07cbf9 100644 --- a/srv.go +++ b/srv.go @@ -262,5 +262,5 @@ func setLogLevel(logLevel string) error { func checkURLForPNG(r *http.Request) bool { url := r.URL.String() - return strings.Contains(url, ".png") + return strings.Contains(url, ".png") && !strings.Contains(url, "/files/") }