This commit is contained in:
Xargana 2025-03-26 18:41:34 +03:00 committed by GitHub
parent c96af6476a
commit e88f6497e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -4,7 +4,9 @@
"description": "scripts for blahaj.tr", "description": "scripts for blahaj.tr",
"main": "index.js", "main": "index.js",
"scripts": { "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": { "repository": {
"type": "git", "type": "git",

View file

@ -7,7 +7,7 @@ const path = require("path");
const app = express(); const app = express();
const PORT = 2589; const PORT = 2589;
const REMOTE_SERVER = "https://example.com"; // Change this const REMOTE_SERVER = "https://blahaj.tr";
const CHECK_INTERVAL = 5 * 1000; const CHECK_INTERVAL = 5 * 1000;