mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
update icon location for service worker
This commit is contained in:
@@ -29,7 +29,7 @@ precacheAndRoute(
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const key of locale_keys) {
|
for (const key of locale_keys) {
|
||||||
if (fn.startsWith(`${key }.`)) {
|
if (fn.startsWith(`${key}.`)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -52,7 +52,7 @@ self.addEventListener("push", (event) => {
|
|||||||
body: data.body,
|
body: data.body,
|
||||||
timestamp: data.timestamp * 1000,
|
timestamp: data.timestamp * 1000,
|
||||||
tag: data.tag,
|
tag: data.tag,
|
||||||
badge: "https://app.revolt.chat/assets/icons/monochrome.svg",
|
badge: "https://onech.at/assets/icons/monochrome.svg",
|
||||||
data: data.url,
|
data: data.url,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user