From 7f837944be2f362aeb1ef8f15ea05e3210be53f1 Mon Sep 17 00:00:00 2001 From: Codex Date: Wed, 1 Jul 2026 12:22:43 +0300 Subject: [PATCH] Add healthcheck endpoint --- src/http/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/app.ts b/src/http/app.ts index 5a7adb7..cc743dc 100644 --- a/src/http/app.ts +++ b/src/http/app.ts @@ -16,7 +16,7 @@ export function createApp(options: AppOptions) { const app = express(); const { ethereum, db, amqp, logger } = options; - app.get('/health', async (_req, res) => { + app.get(['/health', '/healthcheck'], async (_req, res) => { const hotWalletAddress = ethereum.getHotWalletAddress(); const [blockNumber, ethBalanceWei, usdtBalanceUnits, postgres] = await Promise.allSettled([ ethereum.getCurrentBlockNumber(),