disable service worker on Edge
This commit is contained in:
parent
e5f9673521
commit
ec356b703f
|
@ -75,7 +75,8 @@ async function polyfillStreams() {
|
|||
}
|
||||
|
||||
export default async function getCapabilities() {
|
||||
const serviceWorker = 'serviceWorker' in navigator;
|
||||
const serviceWorker =
|
||||
'serviceWorker' in navigator && browserName() !== 'edge';
|
||||
let crypto = await checkCrypto();
|
||||
const nativeStreams = checkStreams();
|
||||
let polyStreams = false;
|
||||
|
|
Loading…
Reference in New Issue