feat(server): health check route

This commit is contained in:
RainbowBird
2026-02-26 17:53:14 +08:00
parent ed65f3ef5f
commit f787485b29
+5
View File
@@ -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.