Skip to content

Commit

Permalink
Fix use of FileUploader
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Jan 21, 2025
1 parent 84169a2 commit 64f9631
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class NewTemplateDialogComponent implements OnInit {
this.qemuBinaries = binaries;
});

this.uploader = new FileUploader({});
this.uploader = new FileUploader({url: ''});
this.uploader.onAfterAddingFile = (file) => {
file.withCredentials = false;
};
Expand All @@ -162,7 +162,7 @@ export class NewTemplateDialogComponent implements OnInit {
this.getAppliance(item.url);
};

this.uploaderImage = new FileUploader({});
this.uploaderImage = new FileUploader({url: ''});
this.uploaderImage.onAfterAddingFile = (file) => {
file.withCredentials = false;
};
Expand Down

0 comments on commit 64f9631

Please sign in to comment.