Skip to content

Commit

Permalink
fix: uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
richardmichel committed May 25, 2023
1 parent a2b33a2 commit 5511658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UploadFile/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class Uploader {
// const url = `${this.urlService}/api/file/upload/upload-signed-url`;
const url = part.signedUrl;

xhr.open('POST', url);
xhr.open('PUT', url);

xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
// xhr.setRequestHeader('Authorization', `Bearer ${token}`);
Expand Down

0 comments on commit 5511658

Please sign in to comment.