fix: not pre cache static files
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ self.addEventListener('install', event => {
|
||||
//pre-cache files
|
||||
event.waitUntil(
|
||||
caches.open(pre_cache_file_version).then(cache => {
|
||||
// cache.addAll(ASSETS);
|
||||
cache.addAll(ASSETS);
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user