-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: allow credentials option in Image #2130
fix: allow credentials option in Image #2130
Conversation
@@ -6,7 +6,7 @@ type SourceBuffer = Buffer | |||
|
|||
type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' } | |||
|
|||
type SourceURLObject = { uri: string; method: HTTPMethod; body: any; headers: any } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. PR looks nice, I hope i can merge it soon
Please merge this, thank you very much |
I don't see this merged, Is there any chance we could add the credentials flag? Or is there another workaround for fetching images with a cookie. Thank you! |
Can you merge this please what's the hold up! |
Co-authored-by: Dmitry Ivakhnenko <[email protected]>
🦋 Changeset detectedLatest commit: 7446c2c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Fantastic, can we get a new release too! 🙏 ❤️ |
This just saved my day! However, unfortunately I miss this part in the docs, is there a way to contribute to the docs? |
Description of change:
Added
credentials
option which is required infetch
in order to send cookies in cross-origin requests.src: mdn web docs
This PR also fixes the issue #1412