1
0
Fork 0
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:
Tim Neutkens 2017-03-28 21:23:38 +02:00 committed by GitHub
parent c50c703d11
commit 769cb49c30

View file

@ -25,6 +25,7 @@ if (typeof window !== 'undefined' && typeof navigator.serviceWorker !== 'undefin
registration.unregister()
})
})
.catch(() => {})
}
export default class Router {