Files
khondokar c176fe4cb6 Rebrand: Google Opal AI / DeepMind -> Aura Studio (drop impersonation)
Renamed the product across index.html + app.js + manifest.json + sw.js: Google Opal AI -> Aura
Studio, Google DeepMind -> Aura AI, Opal Mini-Apps -> Aura Mini-Apps, Gemini 2.0 -> Gemini 3.5.
Kept accurate tech attribution (Google Veo/Gemini). Internal identifiers (localStorage keys, SW
cache) unchanged except a version bump to force PWA refresh (aura-studio-v9, sw.js?v=9).
2026-09-05 02:05:59 +00:00

23 lines
545 B
JavaScript

const CACHE_NAME = 'aura-studio-v9-cache';
self.addEventListener('install', (e) => {
self.skipWaiting();
});
self.addEventListener('activate', (e) => {
e.waitUntil(
caches.keys().then((keys) => {
return Promise.all(
keys.map((key) => caches.delete(key))
);
}).then(() => self.clients.claim())
);
});
self.addEventListener('fetch', (e) => {
// Always fetch fresh network first, fallback to cache only if completely offline
e.respondWith(
fetch(e.request).catch(() => caches.match(e.request))
);
});