🧹 chore(clean): whole src files

This commit is contained in:
Eshan Roy (Eshanized)
2024-06-16 23:16:32 +05:30
parent edc45c757d
commit 8f7130024e
120 changed files with 41 additions and 20275 deletions

View File

@@ -1,29 +0,0 @@
console.log('Service worker file loaded.')
/**
* * FETCH event
* ? It is triggered when the browser is requesting a resource
* TODO: Add the logic to handle the request (investigate best practices and options)
*/
self.addEventListener("fetch", (event) => {
/* event
.respondWith(
console.log('fetching!'),
); */
});
/**
* * INSTALL event
* * It is triggered when the service worker has been installed
* ? It is the best place to cache the app
* TODO: Add the resources to cache
*/
self.addEventListener("install", (event) => {
console.log('Installing service worker...')
/*
event.waitUntil(
// ...
);
*/
});