- ThemeSwitch: auto now follows the device (prefers-color-scheme) with a live matchMedia listener instead of a 06:00-18:00 clock rule; labels become 'ตามอุปกรณ์ / Device'; auto icon is a monitor - layout.tsx pre-paint script resolved with matchMedia (no theme flash) - i18n: default language is Thai (no navigator guess) in lib/ui/i18n.ts; new 'i18nready' event so LangSwitch syncs its label after runtime boot (button previously stuck on ไทย when the page loaded in English) - VERSION 2026.10.24.5
Frontend — Next.js App Router
npm install
npm run dev
Talks to backend purely via REST through nginx (/api/*, /files/*).