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

CORS for your Save Canvas article #36

Open
MV10 opened this issue Dec 23, 2022 · 0 comments
Open

CORS for your Save Canvas article #36

MV10 opened this issue Dec 23, 2022 · 0 comments

Comments

@MV10
Copy link

MV10 commented Dec 23, 2022

For your Save Canvas article, Firefox will throw a security error unless you specify this prior to setting the image source:

image.crossOrigin = "anonymous";

I didn't test it with other browsers.

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

No branches or pull requests

1 participant