Skip to content

Commit 0540c69

Browse files
Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 9da8f09 commit 0540c69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reflex/utils/exec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def notify_backend(host: str | None = None):
164164
host: The backend host. If not provided, falls back to the config value.
165165
"""
166166
config = get_config()
167-
effective_host = host or config.backend_host
167+
effective_host = host if host is not None else config.backend_host
168168
console.print(
169169
f"Backend running at: [bold green]http://{effective_host}:{config.backend_port}[/bold green]"
170170
)

0 commit comments

Comments
 (0)