Cloudflare R2 file storage and image upload for gigs.ge. Use when: uploading gig images, avatars, application attachments, dispute evidence, or invoice PDFs. Also covers EXIF stripping and MIME validation.
https://pub-0c6dbe3e21874201898c30cb6545b81f.r2.dev@aws-sdk/client-s3gigs/{gigId}/images/{imageId}.{ext}
users/{userId}/avatar.{ext}
applications/{appId}/attachments/{attachId}.{ext}
disputes/{dealId}/{userId}/{evidenceId}.{ext}
invoices/{userId}/{year}-{month}.pdf
image/jpeg, image/png, )application/pdfsharp| Context | Max Files | Max Size Each |
|---|---|---|
| Gig images | 10 | 10 MB |
| Application attachments | 5 | 10 MB |
| Dispute evidence | 10 | 10 MB |
| Avatar | 1 | 5 MB |
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET_NAME=gigs-ge-dev
R2_PUBLIC_URL=https://pub-0c6dbe3e21874201898c30cb6545b81f.r2.dev