fix: bump SW cache version to clear stale index.html cache
This commit is contained in:
parent
8eeaf7f50f
commit
396cafbb28
2
sw.js
2
sw.js
|
|
@ -1,4 +1,4 @@
|
||||||
const CACHE = 'posimai-store-v1';
|
const CACHE = 'posimai-store-v2';
|
||||||
const STATIC = ['/', '/index.html', '/manifest.json', '/logo.png'];
|
const STATIC = ['/', '/index.html', '/manifest.json', '/logo.png'];
|
||||||
|
|
||||||
self.addEventListener('install', e => {
|
self.addEventListener('install', e => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue