debug sw
This commit is contained in:
parent
dafc29b9d1
commit
eb759c6b87
@ -249,7 +249,7 @@
|
||||
// --- Initializer ---
|
||||
signOutBtn.addEventListener('click', () => handleSignOut());
|
||||
updateUI();
|
||||
|
||||
console.log("Attempting to register service worker...");
|
||||
// Add the registration code here, inside the same script
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user