1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

Update sw.js

This commit is contained in:
syuilo 2018-04-11 15:55:04 +09:00
parent 7b974575f8
commit 1fbcc648a6

View File

@ -52,8 +52,6 @@ self.addEventListener('push', ev => {
const { type, body } = ev.data.json(); const { type, body } = ev.data.json();
console.log(type, body);
const n = composeNotification(type, body); const n = composeNotification(type, body);
return self.registration.showNotification(n.title, { return self.registration.showNotification(n.title, {
body: n.body, body: n.body,