Update server.js

This commit is contained in:
Matt DiMeglio 2026-01-17 23:30:25 -05:00
parent 878989b0d4
commit 7698b794e5

View file

@ -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 });