Bug 1222146-Allow test API server to be run on env-specified port, r=Mardak, NPOTB, DONTBUILD

This commit is contained in:
Dan Mosedale 2015-11-05 13:12:20 -08:00
Родитель ec8cfcfa94
Коммит c872896c82
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -1,6 +1,8 @@
from os import environ
# Loop server configuration
CONTENT_SERVER_PORT = 3001
LOOP_SERVER_PORT = 5001
LOOP_SERVER_PORT = environ.get("LOOP_SERVER_PORT") or 5001
LOOP_SERVER_URL = "http://localhost:" + str(LOOP_SERVER_PORT)
FIREFOX_PREFERENCES = {
"loop.server": LOOP_SERVER_URL + "/v0",