Add /heartbeat endpoint
Update Server / Primary Server Repo Update (push) Successful in 5m9s
Update Server / Physical Server Update Trigger (push) Successful in 4s

This commit is contained in:
2023-10-13 21:32:48 +00:00
parent 2035bdb730
commit 01c1c1e054
+3
View File
@@ -7,6 +7,9 @@ const app = express();
const port = 3000;
const bodyParser = require("body-parser");
app.use(bodyParser.json());
app.get('/heartbeat', (req, res) => {
res.sendStatus(200)
})
app.post("/repo_change", (request, response) => {
var { body } = request;