diff --git a/services/track-changes/config/settings.defaults.coffee b/services/track-changes/config/settings.defaults.coffee index 779b3fbdfd..75c7e6cd9f 100755 --- a/services/track-changes/config/settings.defaults.coffee +++ b/services/track-changes/config/settings.defaults.coffee @@ -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: