pc export flag rename (#1258)

This commit is contained in:
Elijah Ahianyo 2023-06-27 20:09:58 +00:00 committed by GitHub
parent 71425b2077
commit 1d4fda273b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,16 +211,16 @@ def export(
backend: bool = typer.Option(
True, "--frontend-only", help="Export only frontend.", show_default=False
),
for_rx_deploy: bool = typer.Option(
for_reflex_deploy: bool = typer.Option(
False,
"--for-rx-deploy",
"--for-reflex-deploy",
help="Whether export the app for Reflex Deploy Service.",
),
):
"""Export the app to a zip file."""
config = get_config()
if for_rx_deploy:
if for_reflex_deploy:
# Get the app config and modify the api_url base on username and app_name.
config.api_url = prerequisites.get_production_backend_url()