Fix typos.
This commit is contained in:
parent
1006d02d7f
commit
679433525c
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ class ProdConfig(Config):
|
|||
|
||||
def get_config(name: str | None) -> Type[Config]:
|
||||
"""
|
||||
Resolve config by name. None -> environment variable CRUDKIT_END or 'dev'.
|
||||
Resolve config by name. None -> environment variable CRUDKIT_ENV or 'dev'.
|
||||
"""
|
||||
env = (name or os.getenv("CRUDKIT_ENV") or "dev").lower()
|
||||
if env in {"prod", "production"}:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue