forked from mystiq/hydrogen-web
missing rename
This commit is contained in:
parent
e1a5c362dc
commit
c6f38a4614
1 changed files with 1 additions and 1 deletions
|
@ -15,12 +15,12 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const VERSION = "%%VERSION%%";
|
const VERSION = "%%VERSION%%";
|
||||||
const cacheName = `brawl-${VERSION}`;
|
|
||||||
const OFFLINE_FILES = "%%OFFLINE_FILES%%";
|
const OFFLINE_FILES = "%%OFFLINE_FILES%%";
|
||||||
// TODO: cache these files when requested
|
// TODO: cache these files when requested
|
||||||
// The difficulty is that these are relative filenames, and we don't have access to document.baseURI
|
// The difficulty is that these are relative filenames, and we don't have access to document.baseURI
|
||||||
// Clients.match({type: "window"}).url and assume they are all the same? they really should be ... safari doesn't support this though
|
// Clients.match({type: "window"}).url and assume they are all the same? they really should be ... safari doesn't support this though
|
||||||
const CACHE_FILES = "%%CACHE_FILES%%";
|
const CACHE_FILES = "%%CACHE_FILES%%";
|
||||||
|
const cacheName = `hydrogen-${VERSION}`;
|
||||||
|
|
||||||
self.addEventListener('install', function(e) {
|
self.addEventListener('install', function(e) {
|
||||||
e.waitUntil(
|
e.waitUntil(
|
||||||
|
|
Loading…
Reference in a new issue