From 4bd7912a33b3a4d9a1013533c4e7a83810837a38 Mon Sep 17 00:00:00 2001 From: Alvar San Martin Date: Wed, 13 May 2026 11:06:29 +0200 Subject: [PATCH] Health propio --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index fcb64d2..a6788c5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,6 +23,10 @@ const monitorScheduler = new MonitorScheduler(monitorJob, 300000); app.use("/", createRouter(monitorJob, monitorScheduler)); +app.get('/health', (req, res) => { + res.json({ ok: true }) +}) + monitorScheduler.start(); app.use((err: Error, req: Request, res: Response, _next: NextFunction) => {