diff --git a/pynecone/constants.py b/pynecone/constants.py index 89325e602..735da0624 100644 --- a/pynecone/constants.py +++ b/pynecone/constants.py @@ -99,7 +99,7 @@ DEFAULT_TITLE = "Pynecone App" # The name of the pynecone config module. CONFIG_MODULE = "pcconfig" # The python config file. -CONFIG_FILE = f"{CONFIG_MODULE}.{PY_EXT}" +CONFIG_FILE = f"{CONFIG_MODULE}{PY_EXT}" # The deployment URL. PRODUCTION_BACKEND_URL = "https://{username}-{app_name}.api.pynecone.app" # Token expiration time in seconds. diff --git a/pynecone/pc.py b/pynecone/pc.py index a0f31f77c..138a93837 100644 --- a/pynecone/pc.py +++ b/pynecone/pc.py @@ -91,7 +91,7 @@ def deploy(dry_run: bool = False): pcconfig.API_HOST = utils.get_production_backend_url() # Check if the deploy URI is set. - if not pcconfig.DEPLOY_URI: + if not hasattr(pcconfig, "DEPLOY_URI"): typer.echo("This feature is coming soon!") typer.echo("Join our waitlist to be notified: https://pynecone.io/waitlist") return