From d5f474768cf6c037c22d74544f43c0d57ddc8a09 Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 19 Oct 2024 20:30:56 -0400 Subject: [PATCH] Remove fallback notification --- app/worker.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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, {