3 Commits

Author SHA1 Message Date
e02c3bb9b6 Merge pull request 'Add liveness check endpoint' (#1) from feature/health_check_endpoint into master
Reviewed-on: #1
2021-04-09 11:17:13 +00:00
564df1770a Merge branch 'master' into feature/health_check_endpoint 2021-04-09 11:16:40 +00:00
e29b67749f Add liveness check endpoint
`GET /health/live` returns "200 OK"
2021-04-09 09:43:29 +02:00

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