From de128f5e6a9db8685450ab6f204a344e674aa5cc Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 9 Oct 2023 15:04:54 +0800 Subject: [PATCH] fix --- app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/config.py b/app/core/config.py index 8bf7dd84..e0c7de10 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -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" )