refactor(router): reorganize code in router constructor

This commit is contained in:
Guz
2025-03-12 10:13:09 -03:00
parent 6eb4825d1c
commit 4aeeb8479b

View File

@@ -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,
}