diff --git a/pwa/templates/pwa.html b/pwa/templates/pwa.html index b148acc..660763c 100644 --- a/pwa/templates/pwa.html +++ b/pwa/templates/pwa.html @@ -36,7 +36,7 @@ // Initialize the service worker if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/serviceworker.js', { - scope: '.' + scope: '/' }).then(function (registration) { // Registration was successful console.log('django-pwa: ServiceWorker registration successful with scope: ', registration.scope);