[Webkit-unassigned] [Bug 213726] fetch fails only when site/pwa is added to homescreen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 30 15:46:42 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213726

--- Comment #2 from mustafa.0x at gmail.com ---
Note: I updated the service worker to ignore this fetch, and that *seems* to have fixed the issue.

If so, the bug is with the sw's proxying.


The change I made to the service worker:
 self.addEventListener('fetch', e => {
+    if (e.request.url === 'https://files.turath.io/data.json')
+        return;
     e.respondWith(caches.match(e.request).then(r => r || fetch(e.request)));
 });

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200630/dfdfbc43/attachment.htm>


More information about the webkit-unassigned mailing list