Add Firebase Service Worker to public.

This commit is contained in:
Patrick Fic
2024-05-15 10:27:42 -07:00
parent 9f06e19346
commit f451155689
2 changed files with 57 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
export default async function FcmHandler({ client, payload }) {
console.log("FCM", payload);
switch (payload.type) {
case "messaging-inbound":
client.cache.modify({