botka/scripts/health.js
Sebastian Kippe 8a3b86e27d
Add liveness check endpoint
`GET /health/live` returns "200 OK"
2021-04-09 10:31:21 +02:00

6 lines
115 B
JavaScript

module.exports = function (robot) {
robot.router.get('/health/live', (req, res) => {
res.send('OK');
});
}