aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/entry_search.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-07-06 20:39:28 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-07-06 20:39:28 -0700
commit34a3fe426b33a63f2d8e02d4a70c88f137fa5410 (patch)
tree108ea6897543f2119747da1ef900d55253881e2c /ui/entry_search.go
parent53deb0b8cd1899ec325eca93631b3e137bdd3ec3 (diff)
Compress HTML responses to Gzip/Deflate if supported by browser
Diffstat (limited to 'ui/entry_search.go')
-rw-r--r--ui/entry_search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/entry_search.go b/ui/entry_search.go
index b97bcea..21fdf56 100644
--- a/ui/entry_search.go
+++ b/ui/entry_search.go
@@ -91,5 +91,5 @@ func (c *Controller) ShowSearchEntry(w http.ResponseWriter, r *http.Request) {
view.Set("countUnread", c.store.CountUnreadEntries(user.ID))
view.Set("hasSaveEntry", c.store.HasSaveEntry(user.ID))
- html.OK(w, view.Render("entry"))
+ html.OK(w, r, view.Render("entry"))
}