소스 검색

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