diff --git a/app/worker.ts b/app/worker.ts index 2425488..5d3f539 100644 --- a/app/worker.ts +++ b/app/worker.ts @@ -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, {