diff options
Diffstat (limited to 'ui/proxy.go')
-rw-r--r-- | ui/proxy.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/proxy.go b/ui/proxy.go index 050c070..e9f8ec0 100644 --- a/ui/proxy.go +++ b/ui/proxy.go @@ -18,8 +18,7 @@ import ( "miniflux.app/http/response/html" ) -// ImageProxy fetch an image from a remote server and sent it back to the browser. -func (c *Controller) ImageProxy(w http.ResponseWriter, r *http.Request) { +func (h *handler) imageProxy(w http.ResponseWriter, r *http.Request) { // If we receive a "If-None-Match" header, we assume the image is already stored in browser cache. if r.Header.Get("If-None-Match") != "" { w.WriteHeader(http.StatusNotModified) |