Explorar o código

Use setting instead of hard-coding port

Alasdair Smith %!s(int64=8) %!d(string=hai) anos
pai
achega
bdc6cd397d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/chat/config/settings.defaults.coffee

+ 1 - 1
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"