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;