feat: change config path from relative to absolute /app/data/config.json for Docker deployment

This commit is contained in:
Bruno Charest 2026-03-25 07:47:11 -04:00
parent f22a2abae8
commit 1baad8eab9

View File

@ -1389,7 +1389,7 @@ async def api_attachment_stats(vault: Optional[str] = Query(None, description="V
# Configuration API
# ---------------------------------------------------------------------------
_CONFIG_PATH = Path(__file__).resolve().parent.parent / "config.json"
_CONFIG_PATH = Path("/app/data/config.json")
_DEFAULT_CONFIG = {
"search_workers": 2,