diff options
-rw-r--r-- | Contact.html | 8 |
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> |