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
1 changed files with 4 additions and 1 deletions

View File

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