Answers for "how to change endpoint for each image upload uppy"

0

how to change endpoint for each image upload uppy

const file = uppy.getFile(fileID)
uppy.setFileState(fileID, {
  xhrUpload: {
    ...file.xhrUpload,
    endpoint: `https://endpoint/?filename=${encodeURIComponent(file.meta.name)}`
  }
})
Posted by: Guest on December-11-2020

Code answers related to "how to change endpoint for each image upload uppy"

Browse Popular Code Answers by Language