Explorar el Código

Logging the healthcheck.

parisminton hace 9 años
padre
commit
77d592fd02
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      server/index.js

+ 1 - 0
server/index.js Ver fichero

65
 
65
 
66
 // Healthcheck
66
 // Healthcheck
67
 app.get("/healthcheck/", function(req, res, next) {
67
 app.get("/healthcheck/", function(req, res, next) {
68
+  console.log('hitting the healthcheck');
68
   return res.status(200).send('I\'m a happy healthcheck.');
69
   return res.status(200).send('I\'m a happy healthcheck.');
69
 });
70
 });
70
 
71