Expose root healthcheck endpoint

This commit is contained in:
Codex
2026-07-01 12:27:38 +03:00
parent f7727391f1
commit b7d7a231c5

View File

@@ -66,7 +66,7 @@ app.get('/api/health', async (_req, res) => {
} }
}); });
app.get('/api/healthcheck', async (_req, res) => { app.get(['/healthcheck', '/api/healthcheck'], async (_req, res) => {
try { try {
await Promise.race([ await Promise.race([
db.raw('select 1'), db.raw('select 1'),