drop global XDG_CONFIG_DIR and use environment variables

+ handle string explicit flags
This commit is contained in:
cwilvx
2025-05-25 19:01:10 +03:00
parent 4a741d9ffc
commit f4bc525ae4
7 changed files with 152 additions and 28 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ from app.utils.paths import getClientFilesExtensions
def run_app(host: str, port: int, config: Path):
settings.Paths.set_config_dir(config)
# settings.Paths.set_config_dir(config)
# Load mimetypes for the web client's static files
# Loading mimetypes should happen automatically but