|
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. |
Answered by
bdon
Sep 22, 2024
Replies: 1 comment 16 replies
|
You need to show us the code you are using so we can investigate what the problem might be. |
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

If your CORS header is set to '' then it is not going to work for any site. Set it to this: