diff --git a/client/scripts/ui.js b/client/scripts/ui.js index 426bbc9c..a7849e77 100644 --- a/client/scripts/ui.js +++ b/client/scripts/ui.js @@ -548,7 +548,7 @@ const snapdrop = new Snapdrop(); if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/service-worker.js') + navigator.serviceWorker.register('service-worker.js') .then(serviceWorker => { console.log('Service Worker registered'); window.serviceWorker = serviceWorker