From 3d192cf8b5b94a8fdc5ff7195d22c9426a63e2d9 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Wed, 28 Jan 2026 17:05:30 -0500 Subject: [PATCH] Add DB_PATH env var for configurable database location --- src/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.ts b/src/db.ts index 78ae264..0462355 100644 --- a/src/db.ts +++ b/src/db.ts @@ -66,7 +66,7 @@ function runMigrations(): void { } } -export function initDb(path = "claude-remote.db"): Database { +export function initDb(path = process.env.DB_PATH || "data/dev/claude-remote.db"): Database { db = new Database(path); // Enable WAL mode for better concurrency