diff --git a/public/assets/js/legacy.js b/public/assets/js/legacy.js deleted file mode 100644 index abb16ab..0000000 --- a/public/assets/js/legacy.js +++ /dev/null @@ -1,7 +0,0 @@ -// Promote IE to Edge -if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) { - window.location = 'microsoft-edge:' + window.location; - setTimeout(function() { - window.location = 'https://go.microsoft.com/fwlink/?linkid=2135547'; - },1); -} \ No newline at end of file diff --git a/public/assets/js/script.js b/public/assets/js/script.js deleted file mode 100644 index 36c8951..0000000 --- a/public/assets/js/script.js +++ /dev/null @@ -1,5 +0,0 @@ -if(navigator.serviceWorker) { - navigator.serviceWorker.register("sw.js",{ - scope: "/" - }); -} \ No newline at end of file diff --git a/public/index.html b/public/index.html index e22345a..c264d1e 100644 --- a/public/index.html +++ b/public/index.html @@ -40,7 +40,21 @@ - - + diff --git a/public/sw.js b/public/sw.js index c7f9352..488b5ed 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,4 +1,4 @@ -const version = "1611341781"; +const version = "1612093525"; const root = "/"; let activeCaches = [ @@ -11,7 +11,6 @@ self.addEventListener("install", event => { root + "index.html", root + "assets/css/style.css", root + "assets/img/favicon.png", - root + "assets/js/script.js", root + "assets/img/pattern.gif", root + "assets/fonts/RobotoMono-Bold.woff2", root + "assets/fonts/RobotoMono-Regular.woff2"