mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-12 04:25:42 -04:00
initial push from external dev branches
This commit is contained in:
7
server/dist/routes/health.js
vendored
Normal file
7
server/dist/routes/health.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Router } from 'express';
|
||||
import { isConnected } from '../db.js';
|
||||
export const healthRouter = Router();
|
||||
healthRouter.get('/', (_req, res) => {
|
||||
res.json({ ok: true, mongo: isConnected() ? 'connected' : 'disconnected' });
|
||||
});
|
||||
//# sourceMappingURL=health.js.map
|
||||
Reference in New Issue
Block a user