We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When setting no-cors like so:
const data = await domToPng(element.current, { fetch: { requestInit: { mode: "no-cors" }, }, });
Any image requests fail with Failed fetch, not 2xx response. However, looking at the network tab shows 200 responses for all image requests.
Failed fetch, not 2xx response
Sandbox: https://codesandbox.io/p/sandbox/modern-screenshot-forked-rhgctx?file=%2Findex.html%3A26%2C52
The text was updated successfully, but these errors were encountered:
I also have the same problem,How to solve it?
Sorry, something went wrong.
facing same issue, How to solve it?
No branches or pull requests
When setting no-cors like so:
Any image requests fail with
Failed fetch, not 2xx response
. However, looking at the network tab shows 200 responses for all image requests.Sandbox: https://codesandbox.io/p/sandbox/modern-screenshot-forked-rhgctx?file=%2Findex.html%3A26%2C52
The text was updated successfully, but these errors were encountered: