Add liveness check endpoint

`GET /health/live` returns "200 OK"
This commit is contained in:
Basti 2021-04-09 09:43:29 +02:00
parent 62b63a5866
commit e29b67749f
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

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');
});
}