Files
web-camera-category/app/js/config.js
T
2026-10-24 17:32:25 +07:00

15 lines
796 B
JavaScript

// ── ค่าคงที่ทั้งแอป ──────────────────────────────────────────
export const APP_VERSION = "2.0.0";
export const DB_NAME = "camcat-db";
export const DB_VERSION = 2;
export const SITE_LABEL = "Site A"; // ชื่อไซต์ ใช้เป็น prefix ของโฟลเดอร์
export const TIME_ZONE = "Asia/Bangkok"; // ปี พ.ศ. คำนวณจากโซนนี้เสมอ
export const JPEG_QUALITY = 0.92;
export const THUMB_MAX = 480; // px ด้านยาว ของ thumbnail ใน gallery
export const THUMB_QUALITY = 0.7;
export const STORE_FOLDERS = "folders";
export const STORE_IMAGES = "images";