From 7b974575f83847e5d8e94f8778a8a7493215f2dc Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 11 Apr 2018 15:54:41 +0900 Subject: [PATCH 1/2] Update sw.js --- src/client/app/sw.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/app/sw.js b/src/client/app/sw.js index 669703b16c..19d2ed06e9 100644 --- a/src/client/app/sw.js +++ b/src/client/app/sw.js @@ -43,8 +43,6 @@ self.addEventListener('fetch', ev => { // プッシュ通知を受け取ったとき self.addEventListener('push', ev => { - console.log('pushed'); - // クライアント取得 ev.waitUntil(self.clients.matchAll({ includeUncontrolled: true From 1fbcc648a6faa8d74936ce2f3f3dc854235154a2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 11 Apr 2018 15:55:04 +0900 Subject: [PATCH 2/2] Update sw.js --- src/client/app/sw.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/app/sw.js b/src/client/app/sw.js index 19d2ed06e9..ac7ea20acf 100644 --- a/src/client/app/sw.js +++ b/src/client/app/sw.js @@ -52,8 +52,6 @@ self.addEventListener('push', ev => { const { type, body } = ev.data.json(); - console.log(type, body); - const n = composeNotification(type, body); return self.registration.showNotification(n.title, { body: n.body,