Fix pc init bug
This commit is contained in:
parent
67058b66a4
commit
f5c25fbd5f
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user