aboutsummaryrefslogtreecommitdiff
path: root/_includes/footer.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/footer.html')
-rw-r--r--_includes/footer.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 6ee180d..ac1c232 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -46,3 +46,14 @@
46 ] 46 ]
47} 47}
48</script> 48</script>
49
50<!-- Service worker -->
51<script>
52 if('serviceWorker' in navigator) {
53 navigator.serviceWorker
54 .register('/assets/sw.js')
55 .then(function() {
56 console.log('Service Worker Registered');
57 });
58 }
59</script>