-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: upload client does not need cors mode on presigned url put (#1295)
Apparently some fetch implementations may not have "mode", which is the case for Cloudflare Workers for instance. CF worker deploying upload-client is now failing because this "mode" is set. You can also read more about the general problem in aws/aws-sdk-js-v3#1165 In summary, "mode" may not be implemented in fetch, but the default appears to be cors anyway so this could be deleted without loss of functionality: https://developer.mozilla.org/en-US/docs/Web/API/Request/mode#default_mode. Related to #1273
- Loading branch information
1 parent
0337426
commit ef70a2b
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters