fix: harden uploads and CBR archive handling

Handle existing upload folder paths without creating duplicate books, tolerate partial RAR 1.5 archive reads, and clean up related production defaults and dashboard type safety.
This commit is contained in:
neon
2026-04-24 08:25:38 -06:00
parent 46208fc82d
commit ac1b2cedb4
10 changed files with 175 additions and 34 deletions
+2 -2
View File
@@ -228,13 +228,13 @@ Production uses the root compose file and env file:
- Compose: `docker-compose.yml`
- Env file: `.env` (from `.env.example`)
- Image source: immutable images built in CI (`.github/workflows/container-image.yml`)
- Image source: CI-published images (`latest`, sha tags, or digests)
Quick start:
```bash
cp .env.example .env
# edit .env and set APP_IMAGE, secrets, APP_URL, and BOOKS_HOST_PATH
# edit .env and set secrets, APP_URL, BOOKS_HOST_PATH, and optionally APP_IMAGE
pnpm prod:up
```