From 7698b794e53ecf31d6f2b6de1227db976f633b72 Mon Sep 17 00:00:00 2001 From: Matt DiMeglio Date: Sat, 17 Jan 2026 23:30:25 -0500 Subject: [PATCH] Update server.js --- api/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/server.js b/api/server.js index d4267d5..c5e932e 100644 --- a/api/server.js +++ b/api/server.js @@ -30,7 +30,7 @@ app.get("/api", (req, res) => { app.use('/api', apiRouter); -app.get('/db-health', async (req, res) => { +app.get('/api/db-health', async (req, res) => { try { const result = await shiftRunQuery('SELECT NOW()'); res.json({ connected: true, time: result.rows[0].now });