From 1baad8eab9d260eb1b3f007881dee1773a259262 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Wed, 25 Mar 2026 07:47:11 -0400 Subject: [PATCH] feat: change config path from relative to absolute /app/data/config.json for Docker deployment --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index 0a38bd3..d15a95c 100644 --- a/backend/main.py +++ b/backend/main.py @@ -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,