You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Hey! I've been getting a cors error when try to load a imagen from aws. I found a related issue with a proper solution on the croppie library itself Foliotek/Croppie#516 but I don't know how to make it fit here.
If we can find out any workaround I will try to help with a PR
The text was updated successfully, but these errors were encountered:
Hello @pepeloper thanks for the issue. I'll look into this, no promises tho. I've been super busy with work lately. I'd appreciate if you could come up with a PR. Thank you so much! Stay safe.
In case anybody needs a solution to this problem: it's not related to the library, but rather to how AWS is handling the incoming HTTP requests to the stored images. You need to set up the CORS policy at the bucket level on your AWS S3 Management Console. Choose your bucket, click the Permissions tab, and then scroll all the way down to the Cross-origin resource sharing (CORS) panel.
In there, click the Edit button to the right, and create your JSON configuration. Here's an example of how I'm handling such a scenario. YMMV
👋 Hey! I've been getting a cors error when try to load a imagen from aws. I found a related issue with a proper solution on the croppie library itself Foliotek/Croppie#516 but I don't know how to make it fit here.
If we can find out any workaround I will try to help with a PR
The text was updated successfully, but these errors were encountered: