From f787485b29198d2b2fb3d1768d5f88d9f6c4ec8a Mon Sep 17 00:00:00 2001 From: RainbowBird Date: Thu, 26 Feb 2026 17:53:05 +0800 Subject: [PATCH] feat(server): health check route --- apps/server/src/app.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/server/src/app.ts b/apps/server/src/app.ts index 862398c5c..3e69bf234 100644 --- a/apps/server/src/app.ts +++ b/apps/server/src/app.ts @@ -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.