diff --git a/brutaldon/templates/base.html b/brutaldon/templates/base.html index 8f1d5a6..8d6e2fd 100644 --- a/brutaldon/templates/base.html +++ b/brutaldon/templates/base.html @@ -223,7 +223,7 @@ //Register the ServiceWorker navigator.serviceWorker.register('{% static "js/pwabuilder-sw.js" %}', { - scope: './' + scope: '{% url 'home' %}' }).then(function(reg) { console.log('Service worker has been registered for scope:'+ reg.scope); });