CORS issue in Cloudflare Pages after deploying a create react app

I deployed a create-react-app with Cloudflare pages and I see this error in my console.

Access to XMLHttpRequest at ‘’ from origin ‘’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
beacon.min.js:1 POST net::ERR_FAILED 200

I am supposed to attach cors headers with some cloudflare worker before?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.