From 75942f600b26538defc1bce26e77af846f55c400 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 31 Jul 2025 10:54:47 -0400 Subject: [PATCH] fix sw location --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 150b894..4967670 100644 --- a/public/index.html +++ b/public/index.html @@ -253,7 +253,7 @@ // Add the registration code here, inside the same script if ('serviceWorker' in navigator) { window.addEventListener('load', () => { - navigator.serviceWorker.register('/sw.js') + navigator.serviceWorker.register('/public/sw.js') .then(registration => { console.log('✅ ServiceWorker registration successful with scope: ', registration.scope); })