diff --git a/public/index.html b/public/index.html index 4967670..150b894 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('/public/sw.js') + navigator.serviceWorker.register('/sw.js') .then(registration => { console.log('✅ ServiceWorker registration successful with scope: ', registration.scope); })