feat(server): health check route
This commit is contained in:
@@ -64,6 +64,11 @@ function buildApp({ auth, characterService, chatService, providerService }: AppD
|
||||
}, internalError.statusCode)
|
||||
})
|
||||
|
||||
/**
|
||||
* Health check route.
|
||||
*/
|
||||
.on('GET', '/health', c => c.json({ status: 'ok' }))
|
||||
|
||||
/**
|
||||
* Auth routes are handled by the auth instance directly,
|
||||
* Powered by better-auth.
|
||||
|
||||
Reference in New Issue
Block a user