Hi all, I’m encountering an issue with Cloudflare Pages related to CORS. We use the same middleware
Hi all, I’m encountering an issue with Cloudflare Pages related to CORS. We use the same middleware to handle CORS across our routes, but some endpoints suddenly started having cross-origin request errors while others work fine. For example:
POST /api/login works without any problems
GET /api/userinfo returns CORS errors
There haven’t been any changes to the code, yet many requests are now failing due to CORS issues. Has anyone else experienced this or can admins help clarify what might be going on? Thanks in advance!
POST /api/login works without any problems
GET /api/userinfo returns CORS errors
There haven’t been any changes to the code, yet many requests are now failing due to CORS issues. Has anyone else experienced this or can admins help clarify what might be going on? Thanks in advance!


