summaryrefslogtreecommitdiff
path: root/ui/ui.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/ui.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/ui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 3cac810e..15f5da78 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -96,7 +96,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool) {
uiRouter.HandleFunc("/entry/status", handler.updateEntriesStatus).Name("updateEntriesStatus").Methods(http.MethodPost)
uiRouter.HandleFunc("/entry/save/{entryID}", handler.saveEntry).Name("saveEntry").Methods(http.MethodPost)
uiRouter.HandleFunc("/entry/download/{entryID}", handler.fetchContent).Name("fetchContent").Methods(http.MethodPost)
- uiRouter.HandleFunc("/proxy/{encodedDigest}/{encodedURL}", handler.imageProxy).Name("proxy").Methods(http.MethodGet)
+ uiRouter.HandleFunc("/proxy/{encodedDigest}/{encodedURL}", handler.mediaProxy).Name("proxy").Methods(http.MethodGet)
uiRouter.HandleFunc("/entry/bookmark/{entryID}", handler.toggleBookmark).Name("toggleBookmark").Methods(http.MethodPost)
// Share pages.