feat: metrics, makefile

This commit is contained in:
2026-04-29 15:38:06 +02:00
parent 7affd35ae4
commit 0892c33b13
5 changed files with 72 additions and 1 deletions
+1 -1
View File
@@ -31,5 +31,5 @@ func (app *application) routes() http.Handler {
// Register a new GET /debug/vars endpoint pointing to the expvar 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)))))
}