mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-09-21 20:40:47 +02:00
10 lines
317 B
JavaScript
10 lines
317 B
JavaScript
// Minimal service worker (stub). Controlled by ENABLE_PWA.
|
|
self.addEventListener('install', event => {
|
|
self.skipWaiting();
|
|
});
|
|
self.addEventListener('activate', event => {
|
|
event.waitUntil(clients.claim());
|
|
});
|
|
self.addEventListener('fetch', event => {
|
|
// Pass-through; caching strategy can be added later.
|
|
});
|