diff --git a/src/serviceworker/mod.ts b/src/serviceworker/mod.ts index 17e466d..ebb5c73 100644 --- a/src/serviceworker/mod.ts +++ b/src/serviceworker/mod.ts @@ -109,7 +109,6 @@ if (IS_SW) { }) self.addEventListener('push', (event) => { - console.log('push') const { title, options } = (event.data?.json() ?? {}) as { title?: string options?: Partial @@ -121,13 +120,9 @@ if (IS_SW) { } }) - self.addEventListener('notificationclick', (event) => { - console.log('SW - NOT_CLICK', event) - }) - - self.addEventListener('notificationclose', (event) => { - console.log('SW - NOT_CLOSE', event) - }) + // TODO handle notifications actions + // self.addEventListener('notificationclick', (event) => {}) + // self.addEventListener('notificationclose', (event) => {}) } async function fetchHandler(event: FetchEvent) {