mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add /status end point
This commit is contained in:
parent
14ace64bc6
commit
2cb365d2b4
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue