uppy/examples/custom-provider
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
..
client Set plugin titles from locale (#3023) 2021-07-30 13:02:32 +01:00
output add custom provider example 2018-04-09 23:12:41 +01:00
server Default allow headers (#3167) 2021-09-30 16:37:23 +07:00
.gitignore add custom provider example 2018-04-09 23:12:41 +01:00
babel.config.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
index.html add custom provider example 2018-04-09 23:12:41 +01:00
package.json Upgrade Preact to latest (#2926) 2021-06-16 12:46:19 +02:00
readme.md examples: document npm run build, closes #2024 2020-03-30 16:07:24 +02:00

Uppy + Companion + Custom Provider Example

This example uses @uppy/companion with a dummy custom provider. This serves as an illustration on how integrating custom providers would work

Run it

To run this example, make sure you've correctly installed the repository root:

npm install
npm run build

That will also install the dependencies for this example.

Then, again in the repository root, start this example by doing:

npm run example custom-provider