This commit is contained in:
jxxghp
2023-10-09 15:04:54 +08:00
parent ef8ddcde07
commit de128f5e6a

View File

@ -296,6 +296,6 @@ class Settings(BaseSettings):
settings = Settings(
_env_file=Path(os.environ.get("CONFIG_DIR", "/config")) / "app.env",
_env_file=Settings().CONFIG_PATH / "app.env",
_env_file_encoding="utf-8"
)