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

Open
wants to merge 1 commit into
base: preview
Choose a base branch
from

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.

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
2 participants