adjust streamDownload capability to exclude safari but not chrome

This commit is contained in:
Danny Coates 2018-09-04 13:05:11 -07:00
parent 71b24b05d0
commit 025f040388
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -69,7 +69,10 @@ export default async function capabilities() {
streamDownload:
nativeStreams &&
'serviceWorker' in navigator &&
!/safari/i.test(navigator.userAgent),
!(
/safari/i.test(navigator.userAgent) &&
!/chrome/i.test(navigator.userAgent)
),
multifile: nativeStreams || polyStreams
};
}