aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Contact.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/Contact.html b/Contact.html
index 37a32d5..7d46419 100644
--- a/Contact.html
+++ b/Contact.html
@@ -58,7 +58,13 @@
</div>
-
+<script >
+if('serviceWorker' in navigator) {
+ navigator.serviceWorker
+ .register('/sw.js')
+ .then(function() { console.log("Service Worker Registered"); });
+}
+</script>
</body>