diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-07-06 20:39:28 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-07-06 20:39:28 -0700 |
commit | 34a3fe426b33a63f2d8e02d4a70c88f137fa5410 (patch) | |
tree | 108ea6897543f2119747da1ef900d55253881e2c /ui/category_list.go | |
parent | 53deb0b8cd1899ec325eca93631b3e137bdd3ec3 (diff) |
Compress HTML responses to Gzip/Deflate if supported by browser
Diffstat (limited to 'ui/category_list.go')
-rw-r--r-- | ui/category_list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/category_list.go b/ui/category_list.go index c315d77..dea961f 100644 --- a/ui/category_list.go +++ b/ui/category_list.go @@ -37,5 +37,5 @@ func (c *Controller) CategoryList(w http.ResponseWriter, r *http.Request) { view.Set("user", user) view.Set("countUnread", c.store.CountUnreadEntries(user.ID)) - html.OK(w, view.Render("categories")) + html.OK(w, r, view.Render("categories")) } |