Преглед на файлове

respect "env" from rxconfig (#1338)

Masen Furer преди 1 година
родител
ревизия
3a07e990be
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      reflex/reflex.py

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