This commit is contained in:
ManishMadan2882
2025-03-21 23:57:09 +05:30
4 changed files with 25 additions and 77 deletions

View File

@@ -471,6 +471,7 @@ function Upload({
}, 3000);
};
xhr.open('POST', `${apiHost}/api/remote`);
xhr.setRequestHeader('Authorization', `Bearer ${token}`);
xhr.send(formData);
};
const { getRootProps, getInputProps, isDragActive } = useDropzone({