Revision 190c3feba3a42cbc4c32facd7994c190589d889e authored by Liam R. E. Quin on 26 March 2018, 01:04:45 UTC, committed by Liam R. E. Quin on 26 March 2018, 01:04:45 UTC
1 parent 2b4cdad
Raw File
service-worker.js
self.addEventListener('fetch', e => {
  if (e.request.url.indexOf('/non-existent-worklet-script.js') != -1)
    e.respondWith(fetch('empty-worklet-script.js'));
});
back to top