P粉3409802432023-09-02 16:18:50
This is what I do when getting files from the server in my FilePond.
load: async (source, load, error, progress, abort, headers) => { let file = files.find(el => el.file == source) var myRequest = new Request(source); fetch(myRequest).then(function(response) { response.blob().then(function(myBlob) { load(myBlob); }); });