Update sw.js

This commit is contained in:
syuilo 2018-04-11 15:54:41 +09:00
parent 91791834be
commit 7b974575f8

View file

@ -43,8 +43,6 @@ self.addEventListener('fetch', ev => {
// プッシュ通知を受け取ったとき
self.addEventListener('push', ev => {
console.log('pushed');
// クライアント取得
ev.waitUntil(self.clients.matchAll({
includeUncontrolled: true