feat: introduce initial ObsiGate Single Page Application with Python backend for vault browsing and search.
This commit is contained in:
+2
-1
@@ -1514,7 +1514,8 @@ async def api_get_all_vault_settings(current_user=Depends(require_auth)):
|
||||
# Configuration API
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
_CONFIG_PATH = Path("/app/data/config.json")
|
||||
_BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
_CONFIG_PATH = _BASE_DIR / "data" / "config.json"
|
||||
|
||||
_DEFAULT_CONFIG = {
|
||||
"search_workers": 2,
|
||||
|
||||
@@ -16,7 +16,8 @@ import threading
|
||||
|
||||
logger = logging.getLogger("obsigate.vault_settings")
|
||||
|
||||
_SETTINGS_PATH = Path("/app/data/vault_settings.json")
|
||||
_BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
_SETTINGS_PATH = _BASE_DIR / "data" / "vault_settings.json"
|
||||
_settings_lock = threading.Lock()
|
||||
|
||||
# In-memory cache of vault settings
|
||||
|
||||
Reference in New Issue
Block a user