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
I’m not sure
Usage of fetcher with credentials attribute is breaking production build if deployed on Cloudflare pages.
Using:
A clear and concise description of what you expected to happen.
This is the issue reported cloudflare/workers-sdk#2514 where it states that the Cloudflare workers do not support "credentials" property.
Can a workaround be implemented similar to this? E.g. check if it is supported and only then add or skip the "credentials" property alltogether.
const isCredentialsSupported = "credentials" in Request.prototype; fetch("...", { credentials: isCredentialsSupported ? "include" : undefined })
The text was updated successfully, but these errors were encountered:
Hi @veronica-severyn, Any workaround have you found for the same as I am blocked with same issue ? Thanks!
Sorry, something went wrong.
No branches or pull requests
Package containing the bug
I’m not sure
Describe the bug
Usage of fetcher with credentials attribute is breaking production build if deployed on Cloudflare pages.
Using:
Expected behavior
A clear and concise description of what you expected to happen.
Steps to reproduce:
Additional context
This is the issue reported cloudflare/workers-sdk#2514 where it states that the Cloudflare workers do not support "credentials" property.
Can a workaround be implemented similar to this? E.g. check if it is supported and only then add or skip the "credentials" property alltogether.
The text was updated successfully, but these errors were encountered: