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 for CORS issue and updated typescript #40

Merged
merged 1 commit into from
Jun 26, 2022
Merged

Conversation

dopecodez
Copy link
Owner

@dopecodez dopecodez commented Jun 26, 2022

Fixes #38 .

Issue was Reason: missing token ‘user-agent’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel for Firefox. Fixed it by using api-user-agent instead as is allowed by Wikipedia docs.

Tested on Safari and Firefox.

@dopecodez dopecodez merged commit bd3f32b into master Jun 26, 2022
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.

CORS error fetching summary in Firefox
1 participant