Add liveness check endpoint
`GET /health/live` returns "200 OK"
This commit is contained in:
parent
e44e50c72a
commit
8a3b86e27d
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