mirror of
https://github.com/open-webui/computer.git
synced 2026-12-04 10:37:57 -05:00
refac
This commit is contained in:
1 parent
e6409e2c6a
commit
2d4977412d
1 file changed
+6
-1
+6
-1
@@ -9,7 +9,12 @@ def cli():
|
||||
|
||||
|
||||
@cli.command()
|
||||
@click.option("--host", default="0.0.0.0", help="Host to bind to.")
|
||||
@click.option(
|
||||
"--host",
|
||||
default="127.0.0.1",
|
||||
show_default=True,
|
||||
help="Host to bind to. Use 0.0.0.0 to allow access from other devices.",
|
||||
)
|
||||
@click.option("--port", default=8000, type=int, help="Port to bind to.")
|
||||
@click.option("--reload", is_flag=True, default=False, help="Enable auto-reload.")
|
||||
@click.option("--headless", is_flag=True, default=False, help="Don't open browser.")
|
||||
|
||||
Reference in new issue
Block a user