UptimeFlare/pages/api
MD. ABU SAYED 8df0b26aa8
Add CORS headers to API responses
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-04 13:37:59 +06:00
..
data.ts Add CORS headers to API responses 2025-12-04 13:37:59 +06:00