fix: add /health route

This commit is contained in:
2025-05-02 16:29:32 +02:00
parent 7cfa9d2f01
commit 0956a0ec73
+4
View File
@@ -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}`);