From 43e9ec8a8f31acb7b21081f92442370989011c88 Mon Sep 17 00:00:00 2001 From: Gannicus Date: Sat, 6 Apr 2024 16:12:03 -0400 Subject: [PATCH] update icon location for service worker --- src/sw.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sw.ts b/src/sw.ts index 1daec57c..06a493c4 100644 --- a/src/sw.ts +++ b/src/sw.ts @@ -29,7 +29,7 @@ precacheAndRoute( } for (const key of locale_keys) { - if (fn.startsWith(`${key }.`)) { + if (fn.startsWith(`${key}.`)) { return false; } } @@ -52,7 +52,7 @@ self.addEventListener("push", (event) => { body: data.body, timestamp: data.timestamp * 1000, tag: data.tag, - badge: "https://app.revolt.chat/assets/icons/monochrome.svg", + badge: "https://onech.at/assets/icons/monochrome.svg", data: data.url, }); }