This commit is contained in:
root 2025-03-29 09:30:15 +00:00
commit 8766454f35
2 changed files with 3 additions and 3 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,8 +5,8 @@
"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 api_status-server",
"restart": "pm2 restart status-service-api" "restart": "pm2 restart api_status-server"
}, },
"repository": { "repository": {
"type": "git", "type": "git",