Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
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
83,420
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
S
Sakib
OP
•
5/17/23, 10:22 PM
@ikea
.se thanks
Similar Threads
Help with getting CORs policy to work with r2 and pages
CD
Cloudflare Developers / pages-help
12mo ago
Cloudflare Pages Function CORS error
CD
Cloudflare Developers / pages-help
3y ago
CORS policy error
CD
Cloudflare Developers / general-help
15mo ago
Pages CORS issue when communicating with Llama API
CD
Cloudflare Developers / pages-help
2y ago