feat: main.cpp intenta HTTP API primero, fallback a SQLite
Nuevo flujo: por defecto conecta a sqlite_api en localhost:8484. Si la API no responde, cae a SQLite directo. Flag --api para URL custom. Launcher PowerShell actualizado con --api. app.md refleja la nueva arquitectura dual HTTP/SQLite y dir_path del proyecto. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
$exe = Join-Path $PSScriptRoot "registry_dashboard.exe"
|
||||
|
||||
# Try API first (default), with SQLite fallback via WSL mount
|
||||
& $exe `
|
||||
"\\wsl.localhost\Ubuntu-22.04\home\lucas\fn_registry\registry.db" `
|
||||
|
||||
--api "http://127.0.0.1:8484" `
|
||||
"\\wsl.localhost\Ubuntu-22.04\home\lucas\fn_registry\registry.db"
|
||||
|
||||
Reference in New Issue
Block a user