]> Sergey Matveev's repositories - tofuproxy.git/commitdiff
I do not use Newsboat for a long time
authorSergey Matveev <stargrave@stargrave.org>
Wed, 24 Jul 2024 08:55:36 +0000 (11:55 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 24 Jul 2024 09:04:36 +0000 (12:04 +0300)
doc/index.texi
rounds/redirectHTML.go

index de9d845b2851a6e04a2ea900c9a96a3ca8549d48..629ffd8379051356417ebcc45e092ae5b52a7221 100644 (file)
@@ -57,9 +57,8 @@ input dialogue is shown. It automatically loads initial form values from
 @item
 Permanent HTTP redirects are replaces with non-refreshing HTML page with
 the link, to make you explicitly allow that step. Temporary redirects
-are followed if it is neither @url{https://newsboat.org/, Newsboat}
-nor @url{https://www.feeder.stargrave.org/, go.stargrave.org/feeder}
-user-agent, not image paths.
+are followed if it is neither @url{https://www.feeder.stargrave.org/, go.stargrave.org/feeder}
+user-agent, nor image paths.
 
 @item
 JPEG XL, AVIF and WebP images are transparently transcoded to PNG,
index 4f8dec3c437f29de611d7039c1e94067a7efb7ea..c5cc1d4b80d3659248b37b6d58e59d1c82a80792 100644 (file)
@@ -43,9 +43,6 @@ var imageExts = map[string]struct{}{
 }
 
 func isFeeder(req *http.Request) bool {
-       if strings.Contains(req.Header.Get("User-Agent"), "newsboat/") {
-               return true
-       }
        if strings.Contains(req.Header.Get("User-Agent"), "stargrave.org-feeder/") {
                return true
        }