diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2018-02-09 21:46:34 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 21:46:34 +0530 |
commit | b81bbf7a35a295d60deead12b315ac8fead1d507 (patch) | |
tree | bf1956df4e86f8aed712ad12c9a10748dc25e73f /Contact.html | |
parent | 72d905b0b7ed87c54b6352fa8567951ca4bc82bd (diff) |
Update Contact.html
Diffstat (limited to 'Contact.html')
-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> |