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);
checkServers();
app.get("/", (req, res) => {
app.get("/status", (req, res) => {
res.json(serversStatus);
});

View file

@ -5,8 +5,8 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "pm2 start status/server.js --name status-service-api",
"restart": "pm2 restart status-service-api"
"start": "pm2 start api/status/server.js --name api_status-server",
"restart": "pm2 restart api_status-server"
},
"repository": {
"type": "git",