diff --git a/public/pwabuilder-sw.js b/public/pwabuilder-sw.js index 1019822..34b686b 100644 --- a/public/pwabuilder-sw.js +++ b/public/pwabuilder-sw.js @@ -179,5 +179,6 @@ const handleError = error => { }; self.addEventListener('fetch', event => { + if (event.request.headers.get('Accept') === 'text/event-stream') return; event.respondWith(cacheOrFetch(event.request).catch(handleError)); });