mirror of
https://github.com/timvisee/send.git
synced 2026-03-05 13:39:54 -05:00
began adding capability flags
This commit is contained in:
@@ -270,7 +270,7 @@ function download(id, keychain, onprogress, canceller) {
|
||||
}
|
||||
});
|
||||
const auth = await keychain.authHeader();
|
||||
xhr.open('get', `/api/download/${id}`);
|
||||
xhr.open('get', `/api/download/blob/${id}`);
|
||||
xhr.setRequestHeader('Authorization', auth);
|
||||
xhr.responseType = 'blob';
|
||||
xhr.send();
|
||||
|
||||
Reference in New Issue
Block a user