Explorar o código

return a 200 for root path for google health check

Henry Oswald %!s(int64=8) %!d(string=hai) anos
pai
achega
63d7bb501b
Modificáronse 1 ficheiros con 3 adicións e 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"