-
I'm trying to implement protomaps via Cloudflare. I followed the instructions but ran into an issue with CORS. It's the same issue as https://community.cloudflare.com/t/stuck-at-cors-header-access-control-allow-origin-missing-when-using-cloudflare-workers-to-access-resources-at-r2-storage/610073. I do have access to the .json file and tiles/0/0/0.mvt does download when requested, so I'm not sure if it is a CORS issue or if I didn't implement the files with Openlayers correctly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
You need to show us the code you are using so we can investigate what the problem might be. |
Beta Was this translation helpful? Give feedback.
If your CORS header is set to '' then it is not going to work for any site. Set it to this: