James Allen 12 лет назад
Родитель
Сommit
c15df4c2aa
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      services/track-changes/app.coffee

+ 3 - 0
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