From 8d35a309a55b45e5bb94161afde638ca29d28cf6 Mon Sep 17 00:00:00 2001 From: lockbitchat Date: Sun, 17 Aug 2025 16:51:41 -0400 Subject: [PATCH] update for correct file loading --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);