Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 5b9a2a0

Browse files
committed
Improved service worker registration logging 🚀
1 parent 344fd58 commit 5b9a2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/service-worker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
window.addEventListener('load', function() {
44
navigator.serviceWorker
55
.register('/sw.js')
6-
.then((registration) => { console.log("Service Worker registration: ", registration); })
6+
.then(() => { console.log("Service Worker registration completed"); })
77
.catch((err) => { console.error('Service Worker registration failed:', err); });
88
})
99
} else {

0 commit comments

Comments
 (0)