I followed the instruction for adding CORS header but it doesn't work

I followed this instruction.

https://support.cloudflare.com/hc/en-us/articles/200308847-Using-cross-origin-resource-sharing-CORS-with-Cloudflare#4vknA9IbgW57oiclaPv4QP

I have added Access-Control-Allow-Origin header on the origin server.
And I tried this approach:

But it doesn’t work.
My files still don’t have CORS header.

Including the header (as stated by the API docs) is for purging a specific cache key.

You will need to add the header(s) at your origin server or with Cloudflare Workers (Example here: CORS header proxy · Cloudflare Workers docs)

1 Like

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