mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
Update sw.js
This commit is contained in:
parent
5ba55d6d9b
commit
16870b86b0
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user