This commit is contained in:
lbenedar
2026-03-24 16:58:19 +03:00
parent 8b270bbc0e
commit bb8922f429
2 changed files with 21 additions and 1 deletions

View File

@@ -28,5 +28,5 @@ func (app *application) routes() http.Handler {
router.Handler(http.MethodGet, "/debug/vars", expvar.Handler())
return app.recoverPanic(app.enableCORS(app.rateLimit(app.authenticate(router))))
return app.metrics(app.recoverPanic(app.enableCORS(app.rateLimit(app.authenticate(router)))))
}