From 733c8d6085b8c7960e379e0a7561a6756da9c8a7 Mon Sep 17 00:00:00 2001 From: K8sCat Date: Thu, 11 Jul 2024 10:16:57 +0800 Subject: [PATCH] chore: update environment variable defaults in README.md Signed-off-by: K8sCat --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d82c96..f6907f6 100644 --- a/README.md +++ b/README.md @@ -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*