mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
missing rename
This commit is contained in:
parent
e1a5c362dc
commit
c6f38a4614
@ -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 New Issue
Block a user