Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable new CORS rules for OS Proxy endpoint #2672

Closed
wants to merge 4 commits into from

Conversation

jessicamcinchak
Copy link
Member

Fixes error thrown & discussed here: https://opensystemslab.slack.com/archives/C4B0CKQ3U/p1705473868867069

Because this endpoint already uses a MAP_ALLOWLIST, we don't actually need to apply the new CORS rules. This PR reverts to the "original" CORS configuration for this endpoint only.

Testing:

  • Open the web components docs, navigate to "MyMap - Proxy", open an example in the "playground" and edit "Template" to swap out osProxyEndpoint from .dev to this pizza's API endpoint and confirm basemap loads

Copy link

github-actions bot commented Jan 17, 2024

Removed vultr server and associated DNS entries

@jessicamcinchak
Copy link
Member Author

Closing in favor of #2677

@jessicamcinchak jessicamcinchak deleted the jess/disable-cors-os-proxy-endpoint branch January 19, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant