Fixed error with README images failing to load

pull/992/head
Brian Choromanski 9 months ago
parent 575908ae51
commit f6e92e4c0b

@ -262,5 +262,5 @@ func setLogLevel(logLevel string) error {
func checkURLForPNG(r *http.Request) bool { func checkURLForPNG(r *http.Request) bool {
url := r.URL.String() url := r.URL.String()
return strings.Contains(url, ".png") return strings.Contains(url, ".png") && !strings.Contains(url, "/files/")
} }

Loading…
Cancel
Save