зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1222146-Allow test API server to be run on env-specified port, r=Mardak, NPOTB, DONTBUILD
This commit is contained in:
Родитель
ec8cfcfa94
Коммит
c872896c82
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче