From bdc6cd397d11d0a116945dc876cd3eacfeeb0832 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Tue, 9 Oct 2018 11:55:07 +0100 Subject: [PATCH] Use setting instead of hard-coding port --- services/chat/config/settings.defaults.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/chat/config/settings.defaults.coffee b/services/chat/config/settings.defaults.coffee index d0f64a9d4f..9e89830fee 100644 --- a/services/chat/config/settings.defaults.coffee +++ b/services/chat/config/settings.defaults.coffee @@ -6,7 +6,7 @@ module.exports = apis: web: - url: "http://#{process.env['WEB_HOST'] || "localhost"}:3000" + url: "http://#{process.env['WEB_HOST'] || "localhost"}:#{process.env['WEB_PORT'] or 3000}" user: "sharelatex" pass: "password"