Add liveness check endpoint

`GET /health/live` returns "200 OK"
This commit is contained in:
Basti 2021-04-09 10:31:21 +02:00
parent e44e50c72a
commit 8a3b86e27d
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
1 changed files with 5 additions and 0 deletions

5
scripts/health.js Normal file
View File

@ -0,0 +1,5 @@
module.exports = function (robot) {
robot.router.get('/health/live', (req, res) => {
res.send('OK');
});
}