From f6e92e4c0b2af14b49bedc8ac9645b3db0c0114e Mon Sep 17 00:00:00 2001 From: Brian Choromanski Date: Wed, 15 May 2024 09:03:09 -0400 Subject: [PATCH 1/2] Fixed error with README images failing to load --- srv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/") } From 0a02f3048308874bd09fd8e16bfe3eb96b59f4a1 Mon Sep 17 00:00:00 2001 From: Brian Choromanski Date: Wed, 15 May 2024 09:08:54 -0400 Subject: [PATCH 2/2] data-reach output format -> data-rich output format --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8071c59..000b4c2 100644 --- a/README.md +++ b/README.md @@ -326,7 +326,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: