fix: not pre cache static files

Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
This commit is contained in:
2023-12-07 23:28:17 +08:00
parent 187b8ca54f
commit b8ba0f8206

View File

@@ -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);
})
);
});