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(ios): overwrite CORS headers on livereload #7339

Merged
merged 5 commits into from
Mar 14, 2024
Merged

fix(ios): overwrite CORS headers on livereload #7339

merged 5 commits into from
Mar 14, 2024

Conversation

jcesarmobile
Copy link
Member

If the proxied request already had CORS headers, we are using the original headers when using live reload, which doesn't work since the request goes from the live reload server to the capacitor:// scheme.
So this PR forces the CORS headers we add for live reload instead of the original ones.

closes #7334

@jcesarmobile jcesarmobile merged commit 0c8d69b into main Mar 14, 2024
6 checks passed
@jcesarmobile jcesarmobile deleted the RDMR-65 branch March 14, 2024 18: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.

[Bug]: CapacitorHttp patching not working on iOS using --livereload
3 participants