Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit 8ab9158

Browse files
author
Frances Coronel
committed
Add back service worker
Signed-off-by: Frances Coronel <[email protected]>
1 parent 408e364 commit 8ab9158

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/layouts/_default/baseof.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
});
4141
});
4242
// Service Worker
43-
/**
4443
if ('serviceWorker' in navigator) {
4544
window.addEventListener('load', () => {
4645
navigator.serviceWorker.register('/sw.js').then(registration => {
@@ -49,7 +48,7 @@
4948
console.error('The service worker registration failed. 😭️', registrationError);
5049
});
5150
});
52-
}**/
51+
}
5352

5453
</script>
5554
<style>

0 commit comments

Comments
 (0)