x
This commit is contained in:
parent
55cac61475
commit
6d0fae555a
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@
|
|||
// Service Worker Registration
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('instinct/service-worker.js').then((registration) => {
|
||||
navigator.serviceWorker.register('service-worker.js').then((registration) => {
|
||||
console.log('Service Worker registered with scope:', registration.scope);
|
||||
}, (err) => {
|
||||
console.log('Service Worker registration failed:', err);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue