Skip to content

Commit 769cb49

Browse files
authored
Fix serviceworker call on http (#1542)
1 parent c50c703 commit 769cb49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/router/router.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ if (typeof window !== 'undefined' && typeof navigator.serviceWorker !== 'undefin
2525
registration.unregister()
2626
})
2727
})
28+
.catch(() => {})
2829
}
2930

3031
export default class Router {

0 commit comments

Comments
 (0)