[#1233] added health API endpoint

This commit is contained in:
Marvin Wendt authored and GitHub committed 2022-12-11 17:27:46 +02:00
1 parent 506bfca8b2
commit 5c899a4cf0
3 files changed
+54

No files matched your search

+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