mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-21 01:15:35 +00:00
* use cors module instead of custom cors logic #2762 - adds support for regex COMPANION_CLIENT_ORIGINS_REGEX - encapsulate custom cors header merge logic in own middleware - pull out non cors logic from middleware - unit test the cors middleware * fix capitalization Co-authored-by: Julian Gruber <julian@juliangruber.com> Co-authored-by: Julian Gruber <julian@juliangruber.com> |
||
|---|---|---|
| .. | ||
| client | ||
| output | ||
| server | ||
| .gitignore | ||
| babel.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| readme.md | ||
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