Add liveness check endpoint
`GET /health/live` returns "200 OK"
This commit is contained in:
parent
62b63a5866
commit
e29b67749f
5
scripts/health.js
Normal file
5
scripts/health.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module.exports = function (robot) {
|
||||||
|
robot.router.get('/health/live', (req, res) => {
|
||||||
|
res.send('OK');
|
||||||
|
});
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user