feat: change config path from relative to absolute /app/data/config.json for Docker deployment
This commit is contained in:
parent
f22a2abae8
commit
1baad8eab9
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user