Use setting instead of hard-coding port

This commit is contained in:
Alasdair Smith 2018-10-09 11:55:07 +01:00
parent 231f8596ac
commit bdc6cd397d

View file

@ -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"