You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
386 B
16 lines
386 B
const CHATGPT_NEXT_WEB_CACHE = "chatgpt-next-web-cache";
|
|
|
|
self.addEventListener("activate", function (event) {
|
|
console.log("ServiceWorker activated.");
|
|
});
|
|
|
|
self.addEventListener("install", function (event) {
|
|
event.waitUntil(
|
|
caches.open(CHATGPT_NEXT_WEB_CACHE).then(function (cache) {
|
|
return cache.addAll([]);
|
|
}),
|
|
);
|
|
});
|
|
|
|
self.addEventListener("fetch", (e) => {});
|