From 28980864991c3b1779a7b74c6d3aa84f1ffcf227 Mon Sep 17 00:00:00 2001 From: wixarm Date: Tue, 27 Jan 2026 12:41:56 +0330 Subject: [PATCH] add: server health endpoint --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 31ec070..1eb97ca 100644 --- a/index.js +++ b/index.js @@ -2082,6 +2082,10 @@ app.get("/", async (req, res) => { return res.redirect("https://rasadyar.com"); }); +app.get("/health", async (req, res) => { + return res.json({ status: "server is working..." }); +}); + // Start the server app.listen(port, () => { console.log(`Server is running on http://localhost:${port}`);