Clean-room copy of the reusable engines from comiida, with all instance data, secrets, dependencies, and build output excluded: - app/ Astro theme skeleton (no comiida blog posts; hero image -> placeholder) - api/ SeedProject PHP framework (no vendor/.env/config.php) - content-pipeline/ engine only (scripts/admin/prompts; empty runtime state) - astroagent.config.json + app/.astroagent/skills Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SYHWLHihq3v9nxNwoPCKSn
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);
|
|
})
|
|
);
|
|
});
|
|
|