mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 05:45:04 +03:00
feat(db): call ensureDbInitialized at startup for sql.js pre-init
This commit is contained in:
@@ -209,4 +209,6 @@ export async function registerNodejs(): Promise<void> {
|
||||
const msg = err instanceof Error ? err.message : String(err);
|
||||
console.warn("[COMPLIANCE] Could not initialize audit log:", msg);
|
||||
}
|
||||
|
||||
await import("@/lib/db/core").then(({ ensureDbInitialized }) => ensureDbInitialized());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user