type new envvar as optional

This commit is contained in:
Lendemor 2025-02-10 15:13:25 +01:00
parent 979f49f70d
commit 8a4ec96f18

View File

@ -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)