You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fastapi_cli/cli.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -303,7 +303,7 @@ def dev(
303
303
public_url: Annotated[
304
304
str|None,
305
305
typer.Option(
306
-
help="The public URL where the server is accessible. Used for the URLs printed at startup. Defaults to [blue]http://{host}:{port}[/blue].",
306
+
help="The public URL where the server is accessible. Used for the URLs printed at startup. Defaults to [blue]http://HOST:PORT[/blue] from [bold]--host[/bold] and [bold]--port[/bold].",
307
307
envvar="FASTAPI_PUBLIC_URL",
308
308
),
309
309
] =None,
@@ -418,7 +418,7 @@ def run(
418
418
public_url: Annotated[
419
419
str|None,
420
420
typer.Option(
421
-
help="The public URL where the server is accessible. Used for the URLs printed at startup. Defaults to [blue]http://{host}:{port}[/blue].",
421
+
help="The public URL where the server is accessible. Used for the URLs printed at startup. By default, the printed URLs use the configured host and port.",
0 commit comments