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

/api/v1/fromradio: add OPTIONS handler for CORS. #5386

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

cpatulea
Copy link
Contributor

This avoids hitting the 404 Not Found handler, which breaks connection keep-alive, so this change fixes a big performance regression for Web Client in Chrome: #5385

Tested on Heltec V3.

Fixes #5385

@CLAassistant
Copy link

CLAassistant commented Nov 17, 2024

CLA assistant check
All committers have signed the CLA.

@thebentern
Copy link
Contributor

Ah, so they get pre-flighted now? Good deal. Thanks for the fix.
Once you sign the CLA, I can get this merged in.

@cpatulea
Copy link
Contributor Author

Sorry, I need a bit more time for the CLA.

This avoids hitting the 404 Not Found handler, which breaks connection
keep-alive, so this change fixes a big performance regression for Web Client in
Chrome: meshtastic#5385

Tested on Heltec V3.
@cpatulea
Copy link
Contributor Author

CLA is signed.

@thebentern thebentern merged commit d65dc49 into meshtastic:master Nov 19, 2024
47 checks passed
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]: Web client initial load is very slow (90 seconds) in Chrome (compared to Firefox - 4 seconds)
4 participants