[#1233] added health API endpoint

This commit is contained in:
Marvin Wendt
2022-12-11 16:27:46 +01:00
committed by GitHub
parent 506bfca8b2
commit 5c899a4cf0
3 changed files with 54 additions and 0 deletions
+1
View File
@@ -100,6 +100,7 @@ func InitApi(app core.App) (*echo.Echo, error) {
bindFileApi(app, api)
bindRealtimeApi(app, api)
bindLogsApi(app, api)
bindHealthApi(app, api) // health check should always be initialized after everything else is done
// trigger the custom BeforeServe hook for the created api router
// allowing users to further adjust its options or register new routes