fixed service worker
This commit is contained in:
@@ -303,7 +303,7 @@ $additionalHead = [
|
||||
<script>
|
||||
$(function() {
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/assets/pwa/patching-sw.js')
|
||||
navigator.serviceWorker.register('/Patching/sw', { scope: '/' })
|
||||
.then(registration => {
|
||||
console.log('Patching PWA Service Worker registered with scope:', registration.scope);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user