a
This commit is contained in:
parent
bf6552e4a4
commit
0085075238
|
@ -46,7 +46,7 @@ async function checkServers() {
|
|||
setInterval(checkServers, CHECK_INTERVAL);
|
||||
checkServers();
|
||||
|
||||
app.get("/", (req, res) => {
|
||||
app.get("/status", (req, res) => {
|
||||
res.json(serversStatus);
|
||||
});
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"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"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue