CORS issues when downloading files from R2
I've configured my files from R2 to be served from:
So, fetching and displaying images on my site works as expected, for example,
I've added a download button on each image, but I can't get past the CORS errors.
I've followed almost every solution I found on the internet, including adding transform headers rules, but still no luck.
I've set up CORS rules on the bucket, but nothing!
Does anyone here have experience with this?
Help would be appreciated!
assets.mydomain.comSo, fetching and displaying images on my site works as expected, for example,
assets.mydomain.com/some-random-id.pngI've added a download button on each image, but I can't get past the CORS errors.
I've followed almost every solution I found on the internet, including adding transform headers rules, but still no luck.
I've set up CORS rules on the bucket, but nothing!
Does anyone here have experience with this?
Help would be appreciated!
