From 3a07e990bea98c4ea91e2cd921560eafe31ed1b7 Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Thu, 13 Jul 2023 15:44:50 -0700 Subject: [PATCH] respect "env" from rxconfig (#1338) --- reflex/reflex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/reflex.py b/reflex/reflex.py index 8ea2775cd..7a0e233f6 100644 --- a/reflex/reflex.py +++ b/reflex/reflex.py @@ -66,7 +66,7 @@ def init( @cli.command() def run( env: constants.Env = typer.Option( - constants.Env.DEV, help="The environment to run the app in." + get_config().env, help="The environment to run the app in." ), frontend: bool = typer.Option( False, "--frontend-only", help="Execute only frontend."