diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -104,7 +104,13 @@ </div> </div> - +<script> +if('serviceWorker' in navigator) { + navigator.serviceWorker + .register('/sw.js') + .then(function() { console.log("Service Worker Registered"); }); +} +</script> <script src="js/timeline.js"></script> |