feat(api): add /api/v1/health endpoint for ledger integration

This commit is contained in:
Bernt
2026-07-29 21:25:26 +00:00
parent 43b86abfa6
commit 1d23e89b18
+1
View File
@@ -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))