PrayerTimesSG Updates
February 5th, 2026

API: CORS & /today Endpoint Fix

changelog
  • Fixed /api/v1/prayer-times/today to return JSON directly instead of redirecting
  • Corrected HTTPS handling behind Nginx using X-Forwarded-Proto
  • Added explicit CORS headers at the Nginx layer
  • Ensured browser-based JavaScript clients can fetch the API without proxies
  • Improved reliability for static frontends consuming api.prayertimes.sg