PHP MVC seed project with router, database layer, auth helpers, LLM provider integrations, Stripe gateway, and console commands. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VVcDB9cRQZRRmUivMHRQGL
19 lines
No EOL
436 B
JavaScript
19 lines
No EOL
436 B
JavaScript
/** An empty service worker! */
|
|
self.addEventListener ('install', e => {
|
|
console.log("Installed!");
|
|
e.waitUntil(
|
|
caches.open("static").then(cache => {
|
|
return cache.addAll(["/", "/assets/css/pwa.css", "/assets/icons/ComiidaIcon-192.png"]);
|
|
})
|
|
);
|
|
});
|
|
|
|
|
|
self.addEventListener("fetch", e => {
|
|
e.respondWith(
|
|
caches.match(e.request).then(response => {
|
|
return response || fetch(e.request);
|
|
})
|
|
);
|
|
});
|
|
|