aboutsummaryrefslogtreecommitdiff
path: root/daemon/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/routes.go')
-rw-r--r--daemon/routes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/routes.go b/daemon/routes.go
index 74445c34..f11e6d64 100644
--- a/daemon/routes.go
+++ b/daemon/routes.go
@@ -39,6 +39,7 @@ func routes(cfg *config.Config, store *storage.Storage, feedHandler *feed.Handle
router = router.PathPrefix(cfg.BasePath()).Subrouter()
}
+ router.Use(middleware.HeaderConfig)
router.Use(middleware.Logging)
router.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) {