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 problems #54
Comments
how did u resolve it |
I didn't sorry. I just didn't use it with other sites in the end. |
anyone have any luck im using
|
What worked for me was using return await domToPng(node, {
fetch: {
requestInit: {
cache: "no-cache",
},
},
}); |
I also encountered this problem, how did you solve it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there!
I'm having trouble downloading all cross-origin images. Some urls seem to work and some don't and I'm getting CORS errors.
I can get most images to display on my website, but not all seem to work with modern-screenshot?
Here's an example I can't get to work:
HTML (in Vue 3):
JAVASCRIPT
What would the minimum code be for downloading a png of a div with a cors background image like that one above?
Thanks so much.
The text was updated successfully, but these errors were encountered: