Revert "feat(home): link the homepage of every local project in the workspace"

This reverts commit db7724b237.
This commit is contained in:
Bkk1234 committed 2026-11-20 14:33:15 +07:00
1 parent db7724b237
commit 64d4a9e703
9 files changed
+5 -417

No files matched your search

+3 -3
View File
@@ -2,7 +2,7 @@
กติกา: bump VERSION เฉพาะเมื่อแก้ไฟล์นี้หรือรายการ PRECACHE
เนื้อหา (HTML/CSS/JS/JSON) ใช้ network-first จึงไม่ต้อง bump */
const VERSION = "2026.11.19.5";
const VERSION = "2026.11.19.4";
const CACHE = `hobbypj-${VERSION}`;
const PRECACHE = [
@@ -66,8 +66,8 @@ self.addEventListener("fetch", (event) => {
const url = new URL(request.url);
if (url.origin !== self.location.origin) return;
// อย่าแตะ API และหน้าโปรเจคข้างเคียง: ต้องถึงเซิร์ฟเวอร์เสมอ (ไม่ควรเอาไฟล์โปรเจคอื่นมาแคช)
if (url.pathname.includes("/api/") || url.pathname.startsWith("/projects/")) return;
// อย่าแตะ API: คำขอเผยแพร่/อ่านข้อมูลสดต้องถึงเซิร์ฟเวอร์เสมอ
if (url.pathname.includes("/api/")) return;
const isContent =
request.destination === "document" ||