Commit 0ff91b8e by libai

测试

parent 13d4a207
Showing with 2 additions and 1 deletions
console.log(11)
self.addEventListener('install', (e) => {
e.waitUntil(
caches.open('footseen').then((cache) => cache.addAll([
......@@ -9,7 +10,7 @@ self.addEventListener('install', (e) => {
});
self.addEventListener('fetch', (e) => {
// console.log(e.request.url);
console.log(e.request.url);
e.respondWith(
caches.match(e.request).then((response) => response || fetch(e.request)),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment