Skip to content

Instantly share code, notes, and snippets.

@georgiybykov
Last active March 17, 2021 09:47
Show Gist options
  • Select an option

  • Save georgiybykov/198033114d4ac9d16ed16e9248b8b81e to your computer and use it in GitHub Desktop.

Select an option

Save georgiybykov/198033114d4ac9d16ed16e9248b8b81e to your computer and use it in GitHub Desktop.
Simple cross-origin resource sharing (CORS) for AWS S3
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
},
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"PUT",
"POST"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [],
"MaxAgeSeconds": 3000
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment