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

Add isCorsEnabled option #28

Merged
merged 1 commit into from
Jan 20, 2021
Merged

Add isCorsEnabled option #28

merged 1 commit into from
Jan 20, 2021

Conversation

ffflorian
Copy link
Contributor

@ffflorian ffflorian commented Jan 19, 2021

For testing purposes it would be nice to be able to disable CORS.

index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

You also need to update the readme.

@ffflorian
Copy link
Contributor Author

@sindresorhus Thanks for the suggestions, I applied them.

@sindresorhus sindresorhus changed the title feat: Make CORS setting optional Add isCorsEnabled option Jan 20, 2021
@sindresorhus sindresorhus merged commit c5e652d into sindresorhus:master Jan 20, 2021
@ffflorian ffflorian deleted the feat/disable-cors branch January 20, 2021 10:43
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.

2 participants