Merge pull request #59 from overleaf/msm-fix-web-host-lookup

Fixed WEB_HOST lookup in settings
This commit is contained in:
Miguel Serrano 2019-08-06 12:39:43 +02:00 committed by GitHub
commit ba5d42d567

View file

@ -15,7 +15,7 @@ module.exports =
docstore:
url: "http://#{process.env["DOCSTORE_HOST"] or "localhost"}:3016"
web:
url: "http://#{process.env["WEB_API_HOST"] or "localhost"}:#{process.env['WEB_API_PORT'] or 3000}"
url: "http://#{process.env['WEB_API_HOST'] or process.env['WEB_HOST'] or "localhost"}:#{process.env['WEB_API_PORT'] or process.env['WEB_PORT'] or 3000}"
user: "sharelatex"
pass: "password"
redis: