🔔 FCM Web Push Notification POC

ทดสอบ Firebase Cloud Messaging สำหรับ Web

1. เปิด Notification

2. ส่ง Test Notification

3. วิธีทดสอบ Background Notification

1. กด "เปิด Notification" แล้วอนุญาต
2. Foreground: เปิดหน้านี้ค้างไว้ (visible) แล้วกด "ส่ง Notification" → เห็น Toast มุมขวาบน ไม่มี System Notification
3. Background: ปิดหรือซ่อนทุกแท็บของ localhost:5173 (รวม send.html) โดยให้ Chrome ยังเปิดอยู่ แล้วยิงจาก terminal: curl -X POST localhost:3001/api/send-notification -H 'Content-Type: application/json' -d '{"title":"bg test","body":"hello"}' → เห็น System Notification อันเดียว
หมายเหตุ: ถ้ามีแท็บ localhost:5173 ใดๆ visible อยู่ FCM จะไม่แสดง System Notification (ส่งเป็น Toast ให้หน้าเว็บแทน)