From e88f6497e9bde5c428d97e0f982e7be1a9c9d30e Mon Sep 17 00:00:00 2001 From: Xargana Date: Wed, 26 Mar 2025 18:41:34 +0300 Subject: [PATCH] a --- package.json | 4 +++- status/server.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5765dad..f55b605 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "scripts for blahaj.tr", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "start": "pm2 start status/server.js --name status-service-api", + "restart": "pm2 restart status-service-api" }, "repository": { "type": "git", diff --git a/status/server.js b/status/server.js index 85c55a5..1b9abe6 100644 --- a/status/server.js +++ b/status/server.js @@ -7,7 +7,7 @@ const path = require("path"); const app = express(); const PORT = 2589; -const REMOTE_SERVER = "https://example.com"; // Change this +const REMOTE_SERVER = "https://blahaj.tr"; const CHECK_INTERVAL = 5 * 1000;