Remove fallback notification
Test / test (push) Successful in 1m1s
Details
Test / test (push) Successful in 1m1s
Details
This commit is contained in:
parent
3a56b9f853
commit
d5f474768c
|
|
@ -17,12 +17,7 @@ export default function start(self: ServiceWorkerGlobalScope) {
|
|||
})
|
||||
|
||||
self.addEventListener("push", function (event: PushEvent) {
|
||||
const { title, body, badge, icon, destination } = event.data?.json() ?? {
|
||||
title: "It was missing yo",
|
||||
badge: "image/blah",
|
||||
icon: "image/blah",
|
||||
destination: "https://tackupnow.com",
|
||||
}
|
||||
const { title, body, badge, icon, destination } = event.data?.json()
|
||||
|
||||
event.waitUntil(
|
||||
self.registration.showNotification(title, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue