Skip to content
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

Sandbox not working #1

Open
lachlanjc opened this issue Oct 2, 2017 · 3 comments
Open

Sandbox not working #1

lachlanjc opened this issue Oct 2, 2017 · 3 comments

Comments

@lachlanjc
Copy link

I'm getting an error on the sandbox (latest Safari on a Mac): https://6xp9vyjj23.codesandbox.io

unable to access image data: Error: unable to access local image data: SecurityError (DOM Exception 18): The operation is insecure.
@EnoahNetzach
Copy link

Same over here, on Chrome:

Unhandled Rejection (Error)

unable to access image data: Error: unable to access local image data: SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

@damaera
Copy link
Owner

damaera commented Oct 3, 2017

@EnoahNetzach is that in sandbox? it's happened because of CORS, you must provide your image on same domain.

@lachlanjc
Copy link
Author

Still seeing this 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants