1
0
mirror of https://gitlab.com/brutaldon/brutaldon synced 2025-06-05 21:49:32 +02:00

Maybe fix scope of PWA

This commit is contained in:
Jason McBrayer
2018-09-19 09:59:29 -04:00
parent 0f3162f7b3
commit 3bbe859227

View File

@@ -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);
});