我是s3存储桶AW中的新手,当我尝试在s3存储桶中上传文件时,出现错误:Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://xxxxxxx.com
,有人可以帮助我解决此问题吗?
CORS配置
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>