From 1e4cb89fa9f0d9912c13b71c8b3d3a4bc120e35c Mon Sep 17 00:00:00 2001 From: Navan Chauhan <navanchauhan@gmail.com> Date: Sun, 21 Jan 2018 14:57:31 +0530 Subject: Update index.html --- index.html | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/index.html b/index.html index e6e8576..ac6df40 100644 --- a/index.html +++ b/index.html @@ -8,19 +8,6 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="manifest.json" /> <meta name="theme-color" content="#373B44"> -<script> - if ('serviceWorker' in navigator) { - window.addEventListener('load', function() { - navigator.serviceWorker.register('/sw.js').then(function(registration) { - // Registration was successful - console.log('ServiceWorker registration successful with scope: ', registration.scope); - }, function(err) { - // registration failed :( - console.log('ServiceWorker registration failed: ', err); - }); - }); -} - </script> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-108635191-1"></script> <script> -- cgit v1.2.3