Procházet zdrojové kódy

Use setting instead of hard-coding port

Alasdair Smith před 8 roky
rodič
revize
4a495dbd1f

+ 1 - 1
services/real-time/config/settings.defaults.coffee

@@ -29,7 +29,7 @@ module.exports =
 			
 			
 	apis:
 	apis:
 		web:
 		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"
 			user: "sharelatex"
 			pass: "password"
 			pass: "password"
 		documentupdater:
 		documentupdater: