Merge pull request #201 from overleaf/bg-add-health-check-comment

add comment about health checks on '/'
This commit is contained in:
Brian Gough 2021-02-25 11:41:54 +00:00 committed by GitHub
commit 22762f698c

View file

@ -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('/', (req, res) => res.send('real-time-sharelatex is alive'))
app.get('/status', function (req, res) { app.get('/status', function (req, res) {