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 fetch-patch when fetch is called with only an URL #169

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

alvarlagerlof
Copy link
Owner

Sometimes there is a fetch("url") with no extra params like headers. The code previously failed to handle.

This resulted in breaking fetching for some sites like https://youtube.com and https://caniuse.com. Those sites now work again.

Sometimes there is a `fetch("url")` with no extra params like headers. The code previously failed to handle.

This resulted in breaking fetching for some sites like https://youtube.com and https://caniuse.com. Those sites now work again.
@alvarlagerlof
Copy link
Owner Author

I should really rewrite this part or set up vite for the public folder and maybe bring in https://mswjs.io/ interceptors.

@alvarlagerlof alvarlagerlof merged commit a044d31 into main Aug 4, 2023
@alvarlagerlof alvarlagerlof deleted the fix-fetch-patch-when-there-is-only-an-url branch August 4, 2023 16:48
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