Skip to content

Instantly share code, notes, and snippets.

@fessacchiotto
Created November 22, 2022 16:56
Show Gist options
  • Save fessacchiotto/6aab82dc3716f2779bc3c4a3b7e899b6 to your computer and use it in GitHub Desktop.
Save fessacchiotto/6aab82dc3716f2779bc3c4a3b7e899b6 to your computer and use it in GitHub Desktop.
Cloudflare R2 CORS policy XML file
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration
xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<AllowedOrigin>*</AllowedOrigin>
<AllowedHeaders>*</AllowedHeaders>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment