add
This commit is contained in:
1 parent
bea0fff388
commit
4ac51969e2
37 files changed
+1270
-166
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/* ============================================================
|
||||
AT Transit — Service Worker
|
||||
Atroute — Service Worker
|
||||
กลไกอัปเดตอัตโนมัติ: ผู้ใช้ไม่ต้องล้างแคชเอง
|
||||
------------------------------------------------------------
|
||||
หลักการ:
|
||||
@@ -13,7 +13,7 @@
|
||||
- ขั้นตอนอัปเดต: ดู AGENTS.md หัวข้อ PWA
|
||||
============================================================ */
|
||||
|
||||
const VERSION = "2026.09.12.1"; // ← bump ทุกครั้งที่แก้ SW เอง
|
||||
const VERSION = "2026.09.12.3"; // ← bump ทุกครั้งที่แก้ SW เอง
|
||||
const CACHE = `at-transit-${VERSION}`;
|
||||
|
||||
const PRECACHE = [
|
||||
@@ -37,6 +37,10 @@ const PRECACHE = [
|
||||
"./partials/checkSchedule.html",
|
||||
"./partials/stopDetail.html",
|
||||
"./partials/credits.html",
|
||||
"./partials/about.html",
|
||||
"./partials/about.init.js",
|
||||
"./partials/blog.html",
|
||||
"./partials/blog.init.js",
|
||||
"./partials/icons-sprite.svg",
|
||||
"../.image/icons/minibus-512x512.png",
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user