react-email-editor
react-email-editor copied to clipboard
upload image error cors
Access to fetch at 'https://s3.amazonaws.com/unroll-images-production' from origin 'http://editor.unlayer.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Hello Here. I'm having the same problem with angular-email-editor, but mine raise on https://s3.amazonaws.com/unlayer-assets-prod.
Any luck on this?
Same on vue-email-editor. I am not sure if that will work properly when deployed on prod, but I want to have it tested first locally.
Any updates?
@Jensxy I solved the issue by doing two things, the first one is important.
- Go to your unlayer dashboard and add/enable your domain to be allowed to use your unlayer subscription.
- If it does not work try to implement your own custom storage mechanism check here, as unlayer encourages users to use custom storage.
Hope this can help.
@TechtozT your point no 1 saved me
@jatinmourya glad it helped.