aboutsummaryrefslogtreecommitdiffhomepage
path: root/http/handler/handler.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-02-03 15:54:02 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-02-03 15:54:02 -0800
commit61bc012a6284f90001b2339ecfdfb5b96e38be10 (patch)
treee67e860a6f87137bc233181d22781f0a117cfcf1 /http/handler/handler.go
parent9c4299720900fce52daedfce2314d31e92f7fe1d (diff)
Add support for HTTP Strict Transport Security header
Diffstat (limited to 'http/handler/handler.go')
-rw-r--r--http/handler/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/handler/handler.go b/http/handler/handler.go
index 882e0bd..d698b2e 100644
--- a/http/handler/handler.go
+++ b/http/handler/handler.go
@@ -45,7 +45,7 @@ func (h *Handler) Use(f ControllerFunc) http.Handler {
ctx := NewContext(r, h.store, h.router, h.translator)
request := NewRequest(r)
- response := NewResponse(w, r, h.template)
+ response := NewResponse(h.cfg, w, r, h.template)
language := ctx.UserLanguage()
if language != "" {