Upload files to "semag/box"

This commit is contained in:
LEGALISE_PIRACY 2024-05-09 02:06:26 +00:00
parent adb5443b18
commit b7d36191cb
2 changed files with 16819 additions and 0 deletions

16803
semag/box/index.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
self.addEventListener('fetch', function(event) {
if(!event.request.url.startsWith('http')){
return
}
event.respondWith(async function() {
try{
var res = await fetch(event.request);
var cache = await caches.open('cache');
cache.put(event.request.url, res.clone());
return res;
}
catch(error){
return caches.match(event.request);
}
}());
});