-
- EXPLORE
-
-
-
-
Using Uppy to upload Dropbox videos to the node/express server doesnt work with more than 1 instance twc
i have a simple server set up, with Uppy configured with Companion and the correct keys to enable dropbox, I can access dropbox and select my file, but if I'm running more than 1 server instance, the upload doesn't go through I'm running the server on render.com uppy docs state this configure Companion like this: server: { oauthDomain:
selector, or plugin to place the drag and drop area into (string, Element, Function, or UIPlugin, default: Dashboard). For picking files from Facebook and friends, a server component is needed as you don't want to leak auth secrets to browsers, so there's not really a way around it. In addition, if you want to fetch a 4GB file from Dropbox, it's better if that goes server->server, than server->smartphone->server as it will destroy mobile data plans and UX. The code snippet above sets up an express server and plugs Companion into it. However, the Companion setup doesn't include a custom provider yet. It only includes the Dropbox provider. To be sure everything is working correctly so far, you can start the server by running: node server/index.js. It should log the following message in the console: This can be done by giving Uppy clients URLs to specific hosts in their companion_url settings, Using Uppy to upload Dropbox videos to the node/express server doesnt work with more than 1 instance. Uppy. 1: 994: May 17, 2022 Home ; Categories ;
- Art
- Causes
- Crafts
- Dance
- Drinks
- Film
- Fitness
- Food
- Spellen
- Gardening
- Health
- Home
- Literature
- Music
- Networking
- Other
- Party
- Religion
- Shopping
- Sports
- Theater
- Wellness