mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
Compress HTML responses to Gzip/Deflate if supported by browser
This commit is contained in:
parent
53deb0b8cd
commit
34a3fe426b
40 changed files with 82 additions and 58 deletions
|
@ -36,5 +36,5 @@ func (c *Controller) CreateUser(w http.ResponseWriter, r *http.Request) {
|
|||
view.Set("user", user)
|
||||
view.Set("countUnread", c.store.CountUnreadEntries(user.ID))
|
||||
|
||||
html.OK(w, view.Render("create_user"))
|
||||
html.OK(w, r, view.Render("create_user"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue