docs: update R2 CORS policy to include POST and HEAD

Updated the Cloudflare R2 setup instructions in `content/upload-content.md` to include `POST` and `HEAD` in the `AllowedMethods` CORS configuration. This is necessary for multipart uploads (which use POST) and verification checks (which use HEAD) to function correctly.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-14 16:42:36 +00:00
1 parent 8097f64ba8
commit c3179672b1
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ To allow your browser to upload files directly to Cloudflare, you must allow Cro
[
{
"AllowedOrigins": ["*"],
"AllowedMethods": ["GET", "PUT", "DELETE"],
"AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"],
"AllowedHeaders": ["*"],
"ExposeHeaders": ["ETag", "Content-Length", "Content-Range", "Accept-Ranges"],
"MaxAgeSeconds": 3600