uppy/examples
Mikael Finstad 12705e769f
Default allow headers (#3167)
* refactor cors middleware to avoid duplicates

* Make more ACAH headers default

Add the following headers to access-control-allow-headers by default:
Authorization, Origin, Content-Type, Accept
They are needed for basic operation. See https://github.com/transloadit/uppy/issues/3021
therefore also remove custom middlewares in examples and standalone

* Update outdated readme for S3

AWS now requires JSON instead of XML format

* Update packages/@uppy/companion/src/server/middlewares.js

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* Update packages/@uppy/companion/src/server/middlewares.js

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* fix review comments

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-09-30 16:37:23 +07:00
..
angular-example Stricter linter (#3095) 2021-08-17 20:32:57 +02:00
aws-companion Resolve all type TODO's (#2963) 2021-07-20 14:40:31 +02:00
aws-presigned-url meta: enforce no-unused-vars linter rule (#3118) 2021-08-23 13:10:17 +01:00
bundled Stricter linter (#3095) 2021-08-17 20:32:57 +02:00
cdn-example Release 2021-09-20 11:51:06 +02:00
custom-provider Default allow headers (#3167) 2021-09-30 16:37:23 +07:00
dev Core: rename allowMultipleUploads to allowMultipleUploadBatches (#3115) 2021-08-23 13:19:40 +01:00
digitalocean-spaces error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
multiple-instances error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
node-xhr Resolve all type TODO's (#2963) 2021-07-20 14:40:31 +02:00
php-xhr error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
python-xhr error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
react-example error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
react-native-expo meta: enforce no-unused-vars linter rule (#3118) 2021-08-23 13:10:17 +01:00
redux Stricter linter (#3095) 2021-08-17 20:32:57 +02:00
svelte-example tools: enable linter for TypeScript (#2997) 2021-07-13 14:28:14 +02:00
transloadit error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
transloadit-textarea meta: enforce no-unused-vars linter rule (#3118) 2021-08-23 13:10:17 +01:00
uppy-with-companion Default allow headers (#3167) 2021-09-30 16:37:23 +07:00
vue Always enable strict types and remove .run method (#2957) 2021-06-30 12:05:10 +01:00
vue3 Always enable strict types and remove .run method (#2957) 2021-06-30 12:05:10 +01:00
xhr-bundle Resolve all type TODO's (#2963) 2021-07-20 14:40:31 +02:00