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: api requests cors #4929

Merged

Conversation

Quadrubo
Copy link
Contributor

@Quadrubo Quadrubo commented Jun 24, 2024

This fixes #4928 by adding the header "X-API-Key" to the allowed headers in the CORS configuration of django-cors-headers.

See: CORS_ALLOW_HEADERS at https://pypi.org/project/django-cors-headers/

@CLAassistant
Copy link

CLAassistant commented Jun 24, 2024

CLA assistant check
All committers have signed the CLA.

@sriramveeraghanta sriramveeraghanta merged commit 4e8b7e6 into makeplane:preview Jul 2, 2024
13 checks passed
@Quadrubo Quadrubo deleted the fix/api-requests-cors branch July 2, 2024 13:01
@pablohashescobar
Copy link
Collaborator

Hi @Quadrubo,

Thanks for contributing to Plane.

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.

[bug]: api requests from a browser fail due to api key header not being allowed
5 participants