From 0956a0ec7377aa15edf4b28576517adc9bbc0734 Mon Sep 17 00:00:00 2001 From: Rene Luria Date: Fri, 2 May 2025 16:29:32 +0200 Subject: [PATCH] fix: add /health route --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 4c6d122..dcdd93e 100644 --- a/index.js +++ b/index.js @@ -27,6 +27,10 @@ app.get('/no', (req, res) => { res.json({ reason }); }); +app.get('/health', (req, res) => { + res.json({"status": "ok"}); +}); + // Start server app.listen(PORT, () => { console.log(`No-as-a-Service is running on port ${PORT}`);