mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix serviceworker call on http (#1542)
This commit is contained in:
parent
c50c703d11
commit
769cb49c30
|
@ -25,6 +25,7 @@ if (typeof window !== 'undefined' && typeof navigator.serviceWorker !== 'undefin
|
||||||
registration.unregister()
|
registration.unregister()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
.catch(() => {})
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class Router {
|
export default class Router {
|
||||||
|
|
Loading…
Reference in a new issue