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 5511658 commit 7e535a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/DownloadFile/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export class Downloader {

const xhr = (this.activeConnections[part.PartNumber - 1] =
new XMLHttpRequest());
xhr.withCredentials = true;
// xhr.withCredentials = true;

function abort() {
xhr.abort();
Expand Down
2 changes: 1 addition & 1 deletion src/components/UploadFile/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class Uploader {
const xhr = (this.activeConnections[part.PartNumber - 1] =
new XMLHttpRequest());

xhr.withCredentials = true;
// xhr.withCredentials = true;

const abort = () => {
xhr.abort();
Expand Down

0 comments on commit 7e535a0

Please sign in to comment.