El mismo código funciona bien en "reaccionar nativo".
Pero no funciona en la web;
Código:
const target = event.target as HTMLInputElement; const file: File = (target.files as FileList)[0]; const response = await fetch(file); const body = await response.blob(); await fetch(signedUrl, { method: 'PUT', body, }) .then(() => { console.log('aws succes'); }) .catch((err) => { console.log('aws', err); });
Consola:
TypeError: Failed to Fetch
Gracias por tus respuestas