feat(db): migrate from lowdb to SQLite with repos pattern
- Add modular DB layer (adapters, migrations, repos, helpers) - Replace localDb/usageDb/requestDetailsDb monoliths with repos - Add Tailscale tunnel integration & status check API - Add /api/cli-tools/all-statuses aggregated endpoint - Add settingsStore (Zustand) and mitm/dbReader - Add DB unit tests (benchmark, concurrent, migration, vs-lowdb)
This commit is contained in:
@@ -114,7 +114,7 @@ export default function RequestLogger() {
|
||||
</div>
|
||||
</Card>
|
||||
<div className="text-[10px] text-text-muted italic">
|
||||
Logs are saved to log.txt in the application data directory.
|
||||
Logs are loaded from the request history database.
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -51,7 +51,7 @@ export default function Sidebar({ onClose }) {
|
||||
const { copied, copy } = useCopyToClipboard(2000);
|
||||
|
||||
const INSTALL_CMD = UPDATER_CONFIG.installCmd;
|
||||
const STATUS_URL = `http://localhost:${UPDATER_CONFIG.statusPort}/update/status`;
|
||||
const STATUS_URL = `http://127.0.0.1:${UPDATER_CONFIG.statusPort}/update/status`;
|
||||
|
||||
useEffect(() => {
|
||||
fetch("/api/settings")
|
||||
|
||||
Reference in New Issue
Block a user