Browse Source

add comment about health checks on '/'

Brian Gough 6 năm trước cách đây
mục cha
commit
1ddcdf38ca
1 tập tin đã thay đổi với 1 bổ sung và 0 xóa
  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) {