feat(api): add /api/v1/health endpoint for ledger integration
This commit is contained in:
@@ -164,6 +164,7 @@ func main() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
r.Get("/health", handlers.NewHealthHandler())
|
r.Get("/health", handlers.NewHealthHandler())
|
||||||
|
r.Get("/api/v1/health", handlers.NewHealthHandler())
|
||||||
r.Get("/metrics", promhttp.Handler().ServeHTTP)
|
r.Get("/metrics", promhttp.Handler().ServeHTTP)
|
||||||
r.Get("/debug/token", handlers.DebugTokenHandler(cfg.JWTSecret))
|
r.Get("/debug/token", handlers.DebugTokenHandler(cfg.JWTSecret))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user