瀏覽代碼

add comment about health checks on '/'

Brian Gough 6 年之前
父節點
當前提交
1ddcdf38ca
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      services/real-time/app.js

+ 1 - 0
services/real-time/app.js

@@ -78,6 +78,7 @@ io.configure(function () {
   ])
 })
 
+// a 200 response on '/' is required for load balancer health checks
 app.get('/', (req, res) => res.send('real-time-sharelatex is alive'))
 
 app.get('/status', function (req, res) {