diff --git a/script/script.js b/script/script.js index cd881d9..5e987be 100644 --- a/script/script.js +++ b/script/script.js @@ -112,7 +112,7 @@ script.src = 'salam/salam-wa.js'; document.body.appendChild(script); if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/service-worker.js').then(() => { + navigator.serviceWorker.register('/script/service-worker.js').then(() => { console.log('Service Worker Registered'); }) .catch(error => {