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