mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add /status end point
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user