diff --git a/app/core/config.py b/app/core/config.py index 17261a3..e176774 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -52,5 +52,6 @@ class Settings(BaseSettings): class Config: case_sensitive = True env_file = ".env" + extra = "allow" # 允许额外的环境变量 settings = Settings() \ No newline at end of file