From a2ff9de0dd1186baf776ae043ebef4acb52610ff Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Tue, 9 Oct 2018 11:51:18 +0100 Subject: [PATCH] Use setting instead of hard-coding port --- services/track-changes/config/settings.defaults.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/track-changes/config/settings.defaults.coffee b/services/track-changes/config/settings.defaults.coffee index 6cc3b51c35..db2f44e7e2 100755 --- a/services/track-changes/config/settings.defaults.coffee +++ b/services/track-changes/config/settings.defaults.coffee @@ -14,7 +14,7 @@ module.exports = docstore: url: "http://#{process.env["DOCSTORE_HOST"] or "localhost"}:3016" web: - url: "http://#{process.env["WEB_HOST"] or "localhost"}:3000" + url: "http://#{process.env["WEB_HOST"] or "localhost"}:#{process.env['WEB_PORT'] or 3000}" user: "sharelatex" pass: "password" redis: