diff --git a/README.md b/README.md index 939fcc06..ddba49f2 100644 --- a/README.md +++ b/README.md @@ -102,10 +102,10 @@ Only one storage adapter—Vercel Blob, Cloudflare R2, or AWS S3—can be used a - Store public configuration: - `NEXT_PUBLIC_CLOUDFLARE_R2_BUCKET`: bucket name - `NEXT_PUBLIC_CLOUDFLARE_R2_ACCOUNT_ID`: account id (found on R2 overview page) - - `NEXT_PUBLIC_CLOUDFLARE_R2_PUBLIC_DOMAIN`: e.g., either "pub-jf90908...r2.dev" or "custom-domain.com" + - `NEXT_PUBLIC_CLOUDFLARE_R2_PUBLIC_DOMAIN`: either "your-custom-domain.com" or "pub-jf90908...s0d9f8s0s9df.r2.dev" (do not include "https://" in your domain) 2. Setup private credentials - Create API token by selecting "Manage R2 API Tokens," and clicking "Create API Token" - - Select "Object Read & Write," choose "Apply to specific buckets only," and select the bucket created in Step 1. + - Select "Object Read & Write," choose "Apply to specific buckets only," and select the bucket created in Step 1 - Store credentials (⚠️ _Ensure access keys are not prefixed with `NEXT_PUBLIC`_): - `CLOUDFLARE_R2_ACCESS_KEY` - `CLOUDFLARE_R2_SECRET_ACCESS_KEY`