Remove fallback notification
Test / test (push) Successful in 1m1s Details

This commit is contained in:
Jeff 2024-10-19 20:30:56 -04:00
parent 3a56b9f853
commit d5f474768c
1 changed files with 1 additions and 6 deletions

View File

@ -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, {