adjust streamDownload capability to exclude safari but not chrome
This commit is contained in:
parent
71b24b05d0
commit
025f040388
|
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue