type new envvar as optional
This commit is contained in:
parent
979f49f70d
commit
8a4ec96f18
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user