mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-27 07:20:26 +01:00
[#1233] added health API endpoint
This commit is contained in:
1 parent
506bfca8b2
commit
5c899a4cf0
3 files changed
+54
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user