From 767d345c5810f920d36d1c7261c967ef09ba8b93 Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 12 May 2024 11:15:50 +0200 Subject: [PATCH] serviceWorker in html --- index.html | 1 + script.js | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/index.html b/index.html index df66622..43ecb78 100644 --- a/index.html +++ b/index.html @@ -85,5 +85,6 @@ + \ No newline at end of file diff --git a/script.js b/script.js index 74444e0..09bc4e7 100644 --- a/script.js +++ b/script.js @@ -172,8 +172,3 @@ function onsubmit(event) { this.reportValidity() } } - - -if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('service-worker.js'); -} \ No newline at end of file