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) {
|
self.addEventListener("push", function (event: PushEvent) {
|
||||||
const { title, body, badge, icon, destination } = event.data?.json() ?? {
|
const { title, body, badge, icon, destination } = event.data?.json()
|
||||||
title: "It was missing yo",
|
|
||||||
badge: "image/blah",
|
|
||||||
icon: "image/blah",
|
|
||||||
destination: "https://tackupnow.com",
|
|
||||||
}
|
|
||||||
|
|
||||||
event.waitUntil(
|
event.waitUntil(
|
||||||
self.registration.showNotification(title, {
|
self.registration.showNotification(title, {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue