fix: revert cropperjs dependency to version 1.6.2 and adjust Docker build commands for CORS proxy secrets

This commit is contained in:
alam00000
2026-03-01 21:29:13 +05:30
parent 34f12655c1
commit 957b78fafd
7 changed files with 40 additions and 145 deletions

View File

@@ -142,4 +142,13 @@ npx wrangler deploy
VITE_CORS_PROXY_URL=https://your-worker.workers.dev npm run build
```
Or with Docker:
```bash
export VITE_CORS_PROXY_URL="https://your-worker.workers.dev"
DOCKER_BUILDKIT=1 docker build \
--secret id=VITE_CORS_PROXY_URL,env=VITE_CORS_PROXY_URL \
-t your-bentopdf .
```
> **Note:** See [README](https://github.com/alam00000/bentopdf#digital-signature-cors-proxy-required) for HMAC signature setup.