1
0
Nikhil Rao 2 жил өмнө
parent
commit
f5c25fbd5f

+ 1 - 1
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.

+ 1 - 1
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