From 4190bf8059e630ad3235fde018d68028b78dd16d Mon Sep 17 00:00:00 2001 From: Xargana Date: Wed, 26 Mar 2025 18:02:57 +0300 Subject: [PATCH] a --- status/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/status/server.js b/status/server.js index a806f69..a47ce7f 100644 --- a/status/server.js +++ b/status/server.js @@ -6,7 +6,7 @@ const app = express(); const PORT = 2589; // Set the API to run on port 2589 const CHECK_INTERVAL = 30 * 1000; // Check every 30 seconds -const REMOTE_SERVER = "https://srv.xargana.com"; // Change this to the server you want to check +const REMOTE_SERVER = "https://blahaj.tr"; // Change this to the server you want to check let serverStatus = { online: false, @@ -35,7 +35,7 @@ setInterval(checkServer, CHECK_INTERVAL); checkServer(); // Initial check // API route to get the server status -app.get("/status", (req, res) => { +app.get("/", (req, res) => { res.json(serverStatus); });