From c15df4c2aa43fc251fa0664e5cf600b2ba762c6a Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 3 Mar 2014 13:14:01 +0000 Subject: [PATCH] Add in /status end point --- services/track-changes/app.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/track-changes/app.coffee b/services/track-changes/app.coffee index 7334c95682..fdbabacd46 100644 --- a/services/track-changes/app.coffee +++ b/services/track-changes/app.coffee @@ -10,6 +10,9 @@ app.use express.logger() app.post "/doc/:doc_id/flush", HttpController.flushUpdatesWithLock +app.get "/status", (req, res, next) -> + res.send "track-changes is alive" + app.use (error, req, res, next) -> logger.error err: error, "an internal error occured" res.send 500