Merge remote-tracking branch 'origin/master' into vnext
This commit is contained in:
commit
f923ff4f87
3 changed files with 19 additions and 3 deletions
|
@ -225,7 +225,6 @@ function download(id, keychain, onprogress, canceller) {
|
|||
const auth = await keychain.authHeader();
|
||||
xhr.open('get', `/api/download/${id}`);
|
||||
xhr.setRequestHeader('Authorization', auth);
|
||||
xhr.setRequestHeader('Connection', 'close');
|
||||
xhr.responseType = 'blob';
|
||||
xhr.send();
|
||||
onprogress([0, 1]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue