diff options
Diffstat (limited to 'server/ui')
-rw-r--r-- | server/ui/controller/proxy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/ui/controller/proxy.go b/server/ui/controller/proxy.go index 6d3f5188..6ee52b88 100644 --- a/server/ui/controller/proxy.go +++ b/server/ui/controller/proxy.go @@ -10,7 +10,7 @@ import ( "io/ioutil" "time" - "github.com/miniflux/miniflux/helper" + "github.com/miniflux/miniflux/crypto" "github.com/miniflux/miniflux/http" "github.com/miniflux/miniflux/logger" "github.com/miniflux/miniflux/server/core" @@ -50,7 +50,7 @@ func (c *Controller) ImageProxy(ctx *core.Context, request *core.Request, respon } body, _ := ioutil.ReadAll(resp.Body) - etag := helper.HashFromBytes(body) + etag := crypto.HashFromBytes(body) response.Cache(resp.ContentType, etag, body, 72*time.Hour) } |