Compare commits

...

2 commits

Author SHA1 Message Date
Pagwin
a5feae7942 adding resources dirs pre-emptively for psb support soon
Some checks failed
/ Generate Site (push) Has been cancelled
/ Publish Site (push) Has been cancelled
2025-12-25 23:02:09 -05:00
Pagwin
45cba46576 removing service worker handling from psb soon so removing the file here as well 2025-12-25 23:00:34 -05:00
3 changed files with 0 additions and 30 deletions

0
resources/css/.gitkeep Normal file
View file

0
resources/js/.gitkeep Normal file
View file

30
sw.js
View file

@ -1,30 +0,0 @@
//"use strict";
//
//// used so I can prompt updates to the service worker
//const version = "22-01-2025";
//
//const cache = new Cache();
//
//self.addEventListener("install", (event) => {
// // can't add /static/* due to demos living there
// cache.addAll([
// "/",
// "/index.html",
// "/static/css/*",
// "/static/js/*",
// "/static/images/*",
// "/static/video/*"
// ]);
//});
//
//async function handleCache(event) {
// const cache_value = await cache.match(event.request);
// if (cache_value === undefined) {
// return fetch(event.request);
// }
// return cache_value;
//}
//
//self.addEventListener("fetch", async (event) => {
// event.respondWith(handleCache(event));
//});