Skip to content

Commit

Permalink
docs(cloudflare): add note about r2 over http
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 18, 2024
1 parent 9b1f71f commit 1f2d444
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/2.drivers/cloudflare.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,10 @@ const storage = createStorage({
- `type: "blob"`: Return a `Blob`.
- `type: "bytes"`: Return an `Uint8Array`.
- `type: "arrayBuffer"`: Return an `ArrayBuffer` (default)

## Cloudflare R2 (http)

To use Cloudflare R2 over HTTP, you can use [s3 driver](/drivers/s3).

> [!NOTE]
> Make sure to set `region` to `auto`

0 comments on commit 1f2d444

Please sign in to comment.