24
1
Fork 0

disable service worker on Edge

This commit is contained in:
Danny Coates 2019-02-19 18:53:55 -08:00
parent e5f9673521
commit ec356b703f
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
1 changed files with 2 additions and 1 deletions

View File

@ -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;