1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-09-19 20:14:58 +00:00

Incremented cache version

This commit is contained in:
boxgaming 2024-08-13 11:32:38 -05:00
parent ad0e2a2097
commit 0776dda5e7

View file

@ -14,7 +14,7 @@
// Names of the two caches used in this version of the service worker. // Names of the two caches used in this version of the service worker.
// Change to v2, etc. when you update any of the local resources, which will // Change to v2, etc. when you update any of the local resources, which will
// in turn trigger the install event again. // in turn trigger the install event again.
const PRECACHE = 'precache-v4'; const PRECACHE = 'precache-v5';
const RUNTIME = 'runtime'; const RUNTIME = 'runtime';
const PREFIX = (self.location.origin.indexOf("github.io") == -1) ? "/" : "/qbjs/"; const PREFIX = (self.location.origin.indexOf("github.io") == -1) ? "/" : "/qbjs/";