From 34a3fe426b33a63f2d8e02d4a70c88f137fa5410 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 6 Jul 2018 20:39:28 -0700 Subject: Compress HTML responses to Gzip/Deflate if supported by browser --- ui/category_entries.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/category_entries.go') diff --git a/ui/category_entries.go b/ui/category_entries.go index 50ec90b..49ff891 100644 --- a/ui/category_entries.go +++ b/ui/category_entries.go @@ -75,5 +75,5 @@ func (c *Controller) CategoryEntries(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("category_entries")) + html.OK(w, r, view.Render("category_entries")) } -- cgit v1.2.3