fix assets typo

This commit is contained in:
Srinivas R Kulkarni
2018-10-04 11:38:13 -04:00
committed by Conduitry
parent e4ac01a728
commit 1afd4e6dbc

View File

@@ -4,7 +4,7 @@ const ASSETS = `cache${timestamp}`;
// `shell` is an array of all the files generated by webpack,
// `files` is an array of everything in the `static` directory
const to_cache = shell.concat(assets);
const to_cache = shell.concat(ASSETS);
const cached = new Set(to_cache);
self.addEventListener('install', event => {