Skip to content

Commit

Permalink
type new envvar as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor committed Feb 10, 2025
1 parent 979f49f commit 8a4ec96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reflex/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,10 @@ class EnvironmentVariables:
REFLEX_FRONTEND_ONLY: EnvVar[bool] = env_var(False)

# The port to run the frontend on.
REFLEX_FRONTEND_PORT: EnvVar[int] = env_var(None)
REFLEX_FRONTEND_PORT: EnvVar[int | None] = env_var(None)

# The port to run the backend on.
REFLEX_BACKEND_PORT: EnvVar[int] = env_var(None)
REFLEX_BACKEND_PORT: EnvVar[int | None] = env_var(None)

# Reflex internal env to reload the config.
RELOAD_CONFIG: EnvVar[bool] = env_var(False, internal=True)
Expand Down

0 comments on commit 8a4ec96

Please sign in to comment.