Commit 769cb49c authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Fix serviceworker call on http (#1542)

parent c50c703d
...@@ -25,6 +25,7 @@ if (typeof window !== 'undefined' && typeof navigator.serviceWorker !== 'undefin ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment