-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS Error #101
Comments
it seems not to be related to this React implementation but an issue from "html-to-image". Could you give it a look? |
@Ianec21 can you show how you are converting div to image? It should directly return you a base64 data I think |
+1 same exact issue |
@Ianec21 @bridger217 could you provide a reproducible example to help looking into the issue? |
Hello everyone, I've encountered a similar issue and spent a few days resolving it, so I wanted to share some information. When an image is displayed in a component using the I'm using an AWS S3 bucket with CloudFront. In my case, I added a "SimpleCORS" response headers policy to force CloudFront to include the Access-Control-Allow-Origin header in every response, and it seems to be working fine now. Hope this info will be helpful to someone :) |
Description
When I am trying to convert my div into an image, I receive this error. I am getting images from firebase bucket storage. Can I somehow put no-cors argument in the fetch method?
Link to Reproduction
Steps to reproduce
Version
latest
Browser
Google Chrome
Operating System
Additional Information
None.
The text was updated successfully, but these errors were encountered: