mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2024-12-23 21:51:43 +01:00
Maybe fix scope of PWA
This commit is contained in:
parent
0f3162f7b3
commit
3bbe859227
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user