todo preparado como pwa con branding correcto

This commit is contained in:
2025-08-28 13:25:35 -06:00
parent 0df0157419
commit 1c50aa725f
17 changed files with 60 additions and 4 deletions

15
client/public/sw.js Normal file
View File

@@ -0,0 +1,15 @@
// Minimal service worker to enable PWA installability
self.addEventListener("install", () => {
// Activate immediately on install
self.skipWaiting();
});
self.addEventListener("activate", (event) => {
event.waitUntil(self.clients.claim());
});
// Provide a basic fetch handler (required by some browsers for installability)
self.addEventListener("fetch", (event) => {
event.respondWith(fetch(event.request));
});