diff --git a/index.html b/index.html index 72a9128..ec21f85 100644 --- a/index.html +++ b/index.html @@ -3641,7 +3641,7 @@ console.log('✅ Global timer management functions loaded'); if ('serviceWorker' in navigator) { window.addEventListener('load', async () => { try { - const registration = await navigator.serviceWorker.register('/sw.js'); + const registration = await navigator.serviceWorker.register('./sw.js'); console.log('✅ PWA: Service Worker registered'); } catch (error) { console.error('❌ PWA: Service Worker registration failed:', error);