Add /status end point

This commit is contained in:
James Allen 2014-11-17 14:38:43 +00:00
parent 14ace64bc6
commit 2cb365d2b4

View file

@ -20,6 +20,9 @@ module.exports = Router =
app.get "/clients", HttpController.getConnectedClients
app.get "/clients/:client_id", HttpController.getConnectedClient
app.get "/status", (req, res, next) ->
res.send "real-time-sharelatex is alive"
session.on 'connection', (error, client, session) ->
if error?
logger.err err: error, "error when client connected"