feat: introduce initial ObsiGate Single Page Application with Python backend for vault browsing and search.

This commit is contained in:
2026-03-26 21:02:58 -04:00
parent ec97d75e59
commit 413524c3bf
3 changed files with 13 additions and 11 deletions
+2 -1
View File
@@ -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,
+2 -1
View File
@@ -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