revert SW
This commit is contained in:
parent
de85ba3e44
commit
4bfc4c9434
6 changed files with 0 additions and 46 deletions
|
|
@ -1,9 +0,0 @@
|
|||
window.addEventListener("load", () => {
|
||||
if (navigator.serviceWorker) {
|
||||
navigator.serviceWorker.register('/sw.js').then(function (reg) {
|
||||
console.log('Service worker registration was successful, scope: ', reg.scope);
|
||||
}).catch(function (error) {
|
||||
console.log('Service worker failed:', error);
|
||||
});
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue