express-meshblu-healthcheck
Version:
Express middleware for Meshblu healthcheck
19 lines (16 loc) • 381 B
JavaScript
// Generated by CoffeeScript 1.12.7
(function() {
module.exports = function() {
var middleware;
middleware = function(request, response, next) {
if (request.path === '/healthcheck') {
return response.send({
online: true
});
}
return next();
};
return middleware;
};
}).call(this);
//# sourceMappingURL=index.js.map