Merge branch 'vnext' into sw
This commit is contained in:
commit
86f2a531d4
3 changed files with 19 additions and 3 deletions
|
@ -279,7 +279,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