UptimeFlare/pages/api
MD. ABU SAYED 64931bf3c4
Add CORS headers to API responses (#162)
The API for status is showing CORS issue: "Response body is not available to scripts (Reason: CORS Missing Allow Origin)" when using from other domain/localhost. To solve this ,CORS header is added. It also possible to specify allowed domain in Env Var in cloudflare and call them directly.
2025-12-05 15:34:59 +08:00
..
data.ts Add CORS headers to API responses (#162) 2025-12-05 15:34:59 +08:00