Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
I'm getting CORS policy issue with the pages function. - Cloudflare Developers
CD
Cloudflare Developers
•
3y ago
•
1 reply
Sakib
I'm getting CORS policy issue with the pages function.
Hi
, I tried to set Access
-Control
-Allow
-Origin
:
* in the
/functions
/
_middleware
.ts but it still showing the the error
, plz check the code below
,
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
R2 seems to be ignoring the CORS policy
CD
Cloudflare Developers / workers-and-pages-help
10mo ago
worker CORS issue
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Issue with Cors Header Blocking : Cloudflare Worker.
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Setting up development environment, handling CORS policy, etc.
CD
Cloudflare Developers / workers-and-pages-help
2y ago