diff --git a/router/router.go b/router/router.go index dad5455..270a63e 100644 --- a/router/router.go +++ b/router/router.go @@ -47,8 +47,8 @@ func New(cfg Config) (http.Handler, error) { templates: cfg.Templates, staticFiles: cfg.StaticFiles, + cache: !cfg.DisableCache, - cache: !cfg.DisableCache, assert: cfg.Assertions, log: cfg.Logger, }