Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 485 Bytes

configure-r2.md

File metadata and controls

16 lines (14 loc) · 485 Bytes

Configure R2

R2 is S3 like storage. This image uploader puts the image on R2.

Create new bucket

  1. Open the Cloudflare dashboard.
  2. Click R2 on sidebar.
  3. Create bucket.
  4. Open wrangler.toml, and write bucket name.

Set up custom domain

  1. Open bucket page.
  2. Go to Settings
  3. Connect your domain
  4. Open wrangler.toml, and write image hosting domain to IMAGE_HOST.
  5. And change R2.dev subdomain to disable.