diff --git a/README.md b/README.md index 420b023..063e505 100644 --- a/README.md +++ b/README.md @@ -352,7 +352,7 @@ or, if you prefer Nerd Fonts instead of Emoji, `v2d` (day) or `v2n` (night): ``` -![data-reach output format](https://wttr.in/files/example-wttr-v2.png) +![data-rich output format](https://wttr.in/files/example-wttr-v2.png) (The mode is experimental, and it has several limitations currently: 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/") }