Explorar el Código

return a 200 for root path for google health check

Henry Oswald hace 8 años
padre
commit
63d7bb501b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      services/real-time/app.coffee

+ 3 - 0
services/real-time/app.coffee

@@ -43,6 +43,9 @@ io.configure ->
 	io.set('transports', ['websocket', 'flashsocket', 'htmlfile', 'xhr-polling', 'jsonp-polling'])
 	io.set('log level', 1)
 
+app.get "/", (req, res, next) ->
+	res.send "real-time-sharelatex is alive"
+
 app.get "/status", (req, res, next) ->
 	res.send "real-time-sharelatex is alive"