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/integration_show.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/integration_show.go') diff --git a/ui/integration_show.go b/ui/integration_show.go index 31d374f..b3dc6d9 100644 --- a/ui/integration_show.go +++ b/ui/integration_show.go @@ -63,5 +63,5 @@ func (c *Controller) ShowIntegrations(w http.ResponseWriter, r *http.Request) { view.Set("countUnread", c.store.CountUnreadEntries(user.ID)) view.Set("hasPocketConsumerKeyConfigured", c.cfg.PocketConsumerKey("") != "") - html.OK(w, view.Render("integrations")) + html.OK(w, r, view.Render("integrations")) } -- cgit v1.2.3