update icon location for service worker

pull/1140/head
Gannicus 2024-04-06 16:12:03 -04:00
parent 0148f9a83d
commit 43e9ec8a8f
1 changed files with 2 additions and 2 deletions

View File

@ -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,
});
}