Port webui nits from original pr that enables it (#6628)

* backport changes

* Update test_webui.py
This commit is contained in:
Eric Liang
2019-12-29 19:19:43 -08:00
committed by GitHub
parent 3e0f07468f
commit e2bc489a18
6 changed files with 19 additions and 30 deletions
+4 -5
View File
@@ -166,11 +166,10 @@ def cli(logging_level, logging_format):
@click.option(
"--webui-host",
required=False,
type=click.Choice(["127.0.0.1", "0.0.0.0"]),
default="127.0.0.1",
help="The host to bind the web UI server to. Can either be 127.0.0.1 "
"(localhost) or 0.0.0.0 (available from all interfaces). By default, this "
"is set to 127.0.0.1 to prevent access from external machines.")
default="localhost",
help="The host to bind the web UI server to. Can either be localhost "
"(127.0.0.1) or 0.0.0.0 (available from all interfaces). By default, this "
"is set to localhost to prevent access from external machines.")
@click.option(
"--block",
is_flag=True,