Service Worker showing error: deferred

Turns out it's a chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=823392
master
Manas Khurana 2018-05-26 08:19:29 +05:30 committed by GitHub
parent 3ba5778208
commit e47697dbc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
sw.js
View File

@ -34,7 +34,7 @@ self.addEventListener('fetch', function (event) {
if (response) {
return response;
}
return fetch(event.request, {mode: 'same-origin'});
return fetch(event.request);
})
);
} catch (err) {