Fix SQLite database path to match emdash init location

The emdash CLI creates the database at ./data.db relative to the
workspace root (/app/emdash/data.db), but the Astro config was
pointing to ./storage/data.db. This caused getEmDashEntry() to
return null since the database used at runtime was empty.

Change db.ts to use file:./data.db instead of file:./storage/data.db

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kunthawat Greethong
2026-05-04 07:33:27 +07:00
parent 88902c3b38
commit 160115faea
34 changed files with 22385 additions and 3 deletions

View File

@@ -0,0 +1 @@
../.pnpm/@e18e+eslint-plugin@0.2.0_oxlint@1.49.0_oxlint-tsgolint@0.15.0_/node_modules/@e18e/eslint-plugin