CORS issue
I am using react-svg library in my react web application.
I am using CDN urls for svg images with react-svg , but I am getting CORS issue.
When I use the same CDN url with img tag then I am not getting any CORS issue.
We tried to set headers in the CDN server and s3 bucket where our images are stored but still we are facing CORS issue.
+1, exactly the same issue but with google buckets
Same issue, I still did not have time to find a pattern when it happens because it works for a big majority of the time, but it happens occasionally and breaks our app. To make it worse, browser then caches it and the only way to fix it is clearing the cache.
I can confirm that it was a problem with our google bucket. We fixed it a month ago so I cannot exactly remember what the dev ops guys did, but the problem was a setting on the bucket.
Hey folks. As @lorand-lorincz-emnos said, it's likely an issue with your server/CDN config. There are previous issues here you can look through if you'd like more info.
Assuming this is resolved, so closing.