Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil-sha authored Nov 17, 2024
1 parent 526c544 commit df58f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit df58f0d

Please sign in to comment.