Documentation
¶
Overview ¶
Package r2 plans a bucket and the two settings that decide whether a browser can actually use it.
Both are invisible from the application's side. A bucket with public access off still accepts uploads and then serves nothing; a bucket with the wrong CORS rule fails the preflight, so the request never leaves the page and the error the app sees is indistinguishable from a bad credential.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.