CORS issue on accessing image from s3

I am trying to access images from s3 bucket getting attached error.

Access to image at ‘https://dodi-main-static.s3.us-west-2.amazonaws.com/img/textures/luxe/OLIVO-LUXE.jpeg’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

I tried adding everything from s3 bucket side. And same thing is working from firefox browser but not from chrome and safari. PLease if anyone can help.

Thank You.

Cross-Origin Resource Sharing (CORS) - HTTP | MDN (mozilla.org)

1 Like

And Configure and confirm CORS in Amazon S3

Welcome to the forum

3 Likes