Canvas element with and Image loaded from aws s3 using cors does not work first couple loads

前端 未结 1 1425
离开以前
离开以前 2021-01-08 01:00

So I have cors setup on my AWS S3 bucket:


  
    

        
相关标签:
1条回答
  • 2021-01-08 01:12

    Apparently the browsers are not sending an origin header in the request headers. And aws requires the origin be sent. I'm not sure why this would be the case. The origin header should get sent even with a simple HTTP request. Alas, it is not.

    And here is the reason why the origin head was not getting sent.

    0 讨论(0)
提交回复
热议问题