Prensa: publicação do app
Browse files
sw.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
// Prensa: funciona offline depois da 1ª visita e recebe vídeos pelo menu Compartilhar (Android).
|
| 2 |
-
const CACHE = 'prensa-
|
| 3 |
|
| 4 |
self.addEventListener('install', (e) => {
|
| 5 |
e.waitUntil(caches.open(CACHE).then((c) => c.addAll(['./', './index.html', './manifest.webmanifest', './icone.svg'])));
|
|
|
|
| 1 |
// Prensa: funciona offline depois da 1ª visita e recebe vídeos pelo menu Compartilhar (Android).
|
| 2 |
+
const CACHE = 'prensa-v2';
|
| 3 |
|
| 4 |
self.addEventListener('install', (e) => {
|
| 5 |
e.waitUntil(caches.open(CACHE).then((c) => c.addAll(['./', './index.html', './manifest.webmanifest', './icone.svg'])));
|