Go to bucket
In the bucket permissions tab
There is a section for CORS, put the following in it and save.
[
{
"AllowedOrigins": [
"*"
],
"AllowedMethods": [
"GET"
],
"MaxAgeSeconds": 3000,
"ExposeHeaders": [
"Content-Range",
"Content-Length",
"ETag"
],
"AllowedHeaders": [
"Authorization",
"Content-Range",
"Accept",
"Content-Type",
"Origin",
"Range"
]
}
]
Leave a Reply