From df58f0d6752525f20923ab6a29fe4b55a35c9062 Mon Sep 17 00:00:00 2001 From: Nikhil Date: Sun, 17 Nov 2024 20:38:44 +0530 Subject: [PATCH] Update app.js --- scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/app.js b/scripts/app.js index 3e099e4..01026db 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -111,7 +111,7 @@ loadOptions(); // service worker // for PWA support if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/service-worker.js').then(function(registration) { + navigator.serviceWorker.register('/PasswordGen/service-worker.js').then(function(registration) { console.log('Service Worker registered with scope:', registration.scope); }).catch(function(error) { console.log('Service Worker registration failed:', error);