uppy/examples/custom-provider/client
Mikael Finstad eb8a806908
fix uploadRemoteFile undefined (#4814)
* fix uploadRemoteFile undefined

for some reason, only when testing locally using VITE_COMPANION_URL=https://api2.transloadit.com/companion only
we get this error...
i'm thinking for some reason, the remote file gets serialized into state and then de-serialized again
causing remote.requestClient to be gone
so I solve it by instead storing the request clients in Uppy

fixes #4791

* fix bugs

* remove unrelated space changes

* apply suggestions

* Update Uppy.js

* fix lint

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-12-12 19:51:06 +00:00
..
main.js example: fix custom-provider example (#3854) 2022-07-04 14:06:36 +02:00
MyCustomProvider.jsx fix uploadRemoteFile undefined (#4814) 2023-12-12 19:51:06 +00:00