diff --git a/frontend/public/sw.js b/frontend/public/sw.js index 69440b6..6ad58e9 100644 --- a/frontend/public/sw.js +++ b/frontend/public/sw.js @@ -15,7 +15,7 @@ - SW ใหม่ → skipWaiting + clients.claim + แจ้งหน้าเว็บ ============================================================ */ -const VERSION = "2026.10.24.3"; /* bump เมื่อแก้ UI เพื่อบังคับให้ cache เก่าถูกทิ้ง */ +const VERSION = "2026.10.24.5"; /* bump เมื่อแก้ UI เพื่อบังคับให้ cache เก่าถูกทิ้ง */ const CACHE = `atroute-${VERSION}`; const OFFLINE_URL = "/offline.html"; const VERSION_URL = "/version.json"; diff --git a/frontend/public/version.json b/frontend/public/version.json index 358417e..68ec699 100644 --- a/frontend/public/version.json +++ b/frontend/public/version.json @@ -1,6 +1,6 @@ { "app": "Atroute", - "version": "2026.10.24.3", - "builtAt": "2026-11-04T00:51:02", + "version": "2026.10.24.5", + "builtAt": "2026-11-04T01:16:49", "pwa": true } diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index f65e9e2..1d22777 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -133,7 +133,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }) {/* ตั้งธีมก่อนวาดหน้าจอ (กันจอขาววูบตอนเปิดแอปในโหมดมืด) */}