x
This commit is contained in:
parent
3e1b075534
commit
55cac61475
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('/service-worker.js').then((registration) => {
|
||||
navigator.serviceWorker.register('instinct/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