diff --git a/reflex/config.py b/reflex/config.py index eb7e0d459..f9fdb253a 100644 --- a/reflex/config.py +++ b/reflex/config.py @@ -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)