uppy upload file destination local code example
Example: 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)}`
}
})