Skip to content

Commit

Permalink
Merge pull request #7 from k8scat/main
Browse files Browse the repository at this point in the history
chore: update environment variable defaults in README.md
  • Loading branch information
zmh-program authored Jul 11, 2024
2 parents 350c527 + 733c8d6 commit cdf1c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ Response
## Environment Variables
### 🎨 General Config (Optional)

- `PDF_MAX_IMAGES`: Max Images Extracted from a PDF File
- `PDF_MAX_IMAGES`: Max Images Extracted from a PDF File (Default: `10`)
- **0**: Never Extract Images
- **-1**: Extract All Images
- **other**: Extract Top N Images
- *Tips: The extracted images will be **treated as a normal image** file and directly processed*.
- `MAX_FILE_SIZE`: Max Uploaded File Size MiB (Default: No Limit)
- `MAX_FILE_SIZE`: Max Uploaded File Size MiB (Default: `-1`, No Limit)
- *Tips: Size limit is also depend on the server configuration (e.g. Nginx/Apache Config, Vercel Free Plan Limit **5MB** Body Size)*
- `CORS_ALLOW_ORIGINS`: CORS Allow Origins (Default: `*`)
- e.g.: *http://localhost:3000,https://example.com*
Expand Down

0 comments on commit cdf1c1f

Please sign in to comment.