This commit is contained in:
Xargana 2025-03-29 12:23:25 +03:00
parent bf6552e4a4
commit 0085075238
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ async function checkServers() {
setInterval(checkServers, CHECK_INTERVAL); setInterval(checkServers, CHECK_INTERVAL);
checkServers(); checkServers();
app.get("/", (req, res) => { app.get("/status", (req, res) => {
res.json(serversStatus); res.json(serversStatus);
}); });

View file

@ -5,7 +5,7 @@
"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", "start": "pm2 start api/status/server.js --name status-service-api",
"restart": "pm2 restart status-service-api" "restart": "pm2 restart status-service-api"
}, },
"repository": { "repository": {