From c879cb1010140d1d1faa6b010f7eac3b354ab69d Mon Sep 17 00:00:00 2001 From: Bkk1234 Date: Wed, 4 Nov 2026 21:35:29 +0700 Subject: [PATCH] affiliates: sync with mock (thpostmart + pantip mall) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The served copy (frontend/public/resource/data/affiliates.json) was missing the last two partners, so the footer marquee had 8 tiles instead of 10. Copied the mock file byte-for-byte; served JSON now diffs clean against web-at-transit-mock/resource/data/affiliates.json. Tile images live under the git-ignored public/image tree and were copied to the server separately · marquee 10 tiles, 0 broken images · VERSION 2026.10.24.8 --- frontend/public/resource/data/affiliates.json | 24 +++++++++++++++++++ frontend/public/sw.js | 2 +- frontend/public/version.json | 4 ++-- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/frontend/public/resource/data/affiliates.json b/frontend/public/resource/data/affiliates.json index 9c844fc..6f8215d 100644 --- a/frontend/public/resource/data/affiliates.json +++ b/frontend/public/resource/data/affiliates.json @@ -111,6 +111,30 @@ "affiliate_link": "", "status": "registered", "note": "มีบัญชีแล้ว — ยังไม่ใช้ใน footer" + }, + { + "id": "THpostmart", + "brand": "THpostmart", + "brand_th": "ไทยโพสต์มาร์ท", + "tile_image": ".image/partners/thpostmart.png", + "in_footer_marquee": true, + "affiliate_program": "", + "program_url": "", + "affiliate_link": "https://www.thailandpostmart.com/", + "status": "no registered", + "note": "ไม่มีบัญชี" + }, + { + "id": "pantip mall", + "brand": "pantip mall", + "brand_th": "พันทิป มอลล์", + "tile_image": ".image/partners/pantip mall.png", + "in_footer_marquee": true, + "affiliate_program": "", + "program_url": "", + "affiliate_link": "https://www.pantipmall.com/", + "status": "no registered", + "note": "ไม่มีบัญชี" } ] } diff --git a/frontend/public/sw.js b/frontend/public/sw.js index c41da11..40dd58f 100644 --- a/frontend/public/sw.js +++ b/frontend/public/sw.js @@ -15,7 +15,7 @@ - SW ใหม่ → skipWaiting + clients.claim + แจ้งหน้าเว็บ ============================================================ */ -const VERSION = "2026.10.24.7"; /* bump เมื่อแก้ UI เพื่อบังคับให้ cache เก่าถูกทิ้ง */ +const VERSION = "2026.10.24.8"; /* 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 89f2cec..cfabda8 100644 --- a/frontend/public/version.json +++ b/frontend/public/version.json @@ -1,6 +1,6 @@ { "app": "Atroute", - "version": "2026.10.24.7", - "builtAt": "2026-11-04T02:23:45", + "version": "2026.10.24.8", + "builtAt": "2026-11-04T21:32:43", "pwa": true }