Go To AWS S3 Console and add config json as shown below
Click on Edit and paste below config JSON. Click Save changes.
[
{
“AllowedHeaders”: [
“” ], “AllowedMethods”: [ “GET”, “PUT”, “POST”, “DELETE” ],
“AllowedOrigins”: [ “*”
],
“ExposeHeaders”: [
“x-amz-server-side-encryption”,
“x-amz-request-id”,
“x-amz-id-2”
],
“MaxAgeSeconds”: 30000
}
]