Added separate get_logs_dir function for logs dir

Instead of piggy-backing on the data dir
This commit is contained in:
Donkie
2023-11-25 21:42:56 +01:00
parent b59e0e12a5
commit d119a27cc2
4 changed files with 12 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ async def info() -> models.Info:
debug_mode=env.is_debug_mode(),
automatic_backups=env.is_automatic_backup_enabled(),
data_dir=str(env.get_data_dir().resolve()),
logs_dir=str(env.get_logs_dir().resolve()),
backups_dir=str(env.get_backups_dir().resolve()),
db_type=str(env.get_database_type() or "sqlite"),
git_commit=env.get_commit_hash(),