refactor: unify env path

This commit is contained in:
InfinityPacer
2024-09-12 00:05:07 +08:00
parent 8b336cf3eb
commit 540f5eb77f
4 changed files with 24 additions and 18 deletions

View File

@@ -49,7 +49,7 @@ class LogSettings(BaseSettings):
class Config:
case_sensitive = True
env_file = SystemUtils.get_config_path() / "app.env"
env_file = SystemUtils.get_env_path()
env_file_encoding = "utf-8"