summaryrefslogtreecommitdiff
path: root/ui/entry_scraper.go
diff options
context:
space:
mode:
authorGravatar Romain de Laage <romain.delaage@rdelaage.ovh> 2023-02-25 09:36:19 +0100
committerGravatar Frédéric Guillot <f@miniflux.net> 2023-02-25 15:57:59 -0800
commit2c2700a31d7349f67016a3786125597f9ee38c56 (patch)
tree9a9cef0c5d6a17946be70e709cf1d0349d05bc77 /ui/entry_scraper.go
parent8f9ccc6540be9d637b812985936f064bada8fcf3 (diff)
downloadv2-2c2700a31d7349f67016a3786125597f9ee38c56.tar.gz
v2-2c2700a31d7349f67016a3786125597f9ee38c56.tar.zst
v2-2c2700a31d7349f67016a3786125597f9ee38c56.zip
Proxy support for several media types
closes #615 closes #635
Diffstat (limited to '')
-rw-r--r--ui/entry_scraper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/entry_scraper.go b/ui/entry_scraper.go
index e556dc94..77755c74 100644
--- a/ui/entry_scraper.go
+++ b/ui/entry_scraper.go
@@ -67,5 +67,5 @@ func (h *handler) fetchContent(w http.ResponseWriter, r *http.Request) {
readingTime := locale.NewPrinter(user.Language).Plural("entry.estimated_reading_time", entry.ReadingTime, entry.ReadingTime)
- json.OK(w, r, map[string]string{"content": proxy.ImageProxyRewriter(h.router, entry.Content), "reading_time": readingTime})
+ json.OK(w, r, map[string]string{"content": proxy.ProxyRewriter(h.router, entry.Content), "reading_time": readingTime})
}