Pārlūkot izejas kodu

Logging the healthcheck.

parisminton 8 gadus atpakaļ
vecāks
revīzija
77d592fd02
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      server/index.js

+ 1 - 0
server/index.js Parādīt failu

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