From c128e0ab1c4859e562c5600049a8d8327780c826 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Tue, 9 Oct 2018 11:46:27 +0100 Subject: [PATCH] Use setting instead of hard-coding port --- services/document-updater/config/settings.defaults.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/config/settings.defaults.coffee b/services/document-updater/config/settings.defaults.coffee index dfce36f6e3..02de30553a 100755 --- a/services/document-updater/config/settings.defaults.coffee +++ b/services/document-updater/config/settings.defaults.coffee @@ -10,7 +10,7 @@ module.exports = apis: 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" trackchanges: