From 769cb49c309354429bd5161485c547fd3c7d9a40 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Tue, 28 Mar 2017 21:23:38 +0200 Subject: [PATCH] Fix serviceworker call on http (#1542) --- lib/router/router.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/router/router.js b/lib/router/router.js index 3c477b20..aaba0862 100644 --- a/lib/router/router.js +++ b/lib/router/router.js @@ -25,6 +25,7 @@ if (typeof window !== 'undefined' && typeof navigator.serviceWorker !== 'undefin registration.unregister() }) }) + .catch(() => {}) } export default class Router {