fix: do not open browser on backend_only mode
This commit is contained in:
parent
51c1aa1ec8
commit
5a41224560
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ def run(
|
|||
else:
|
||||
# Run using gunicorn on Linux
|
||||
process = run_on_mac_or_linux(host, port, log_level, options, app)
|
||||
if open_browser:
|
||||
if open_browser and not backend_only:
|
||||
click.launch(f"http://{host}:{port}")
|
||||
if process:
|
||||
process.join()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue