8270715f5bdb0695fa16ec405f45f8a617a5cea3
data/ folder and remove env files
- Consolidate SQLite database and file storage into `data/` directory. - Update `src/index.ts` to ensure `data` and `data/files` directories exist on startup. - Update `src/db.ts` to use hardcoded `file:./data/data.db` path. - Update `prisma.config.ts` to use absolute path to `data/data.db` for CLI compatibility. - Update `.gitignore` to ignore `data/` directory entirely. - Remove `.env.example` and `.env.test` as they are no longer needed. - Fix TS2307 typecheck error by adding `*.webp` declaration to `src/env.d.ts`.
Description
Build, remix, and re-style characters with AI
6 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
99.4%
CSS
0.4%
Dockerfile
0.1%