Fix dev server rejecting non-localhost hosts when using FX_PROFILER_HOST#5889
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5889 +/- ##
=======================================
Coverage 85.41% 85.41%
=======================================
Files 321 321
Lines 32157 32157
Branches 8865 8781 -84
=======================================
Hits 27468 27468
Misses 4253 4253
Partials 436 436 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mstange
left a comment
There was a problem hiding this comment.
Thanks! Some small comments but overall looks good.
5cb9f6e to
3128e0b
Compare
|
Hey @ojuschugh1, Thanks a lot for the PR! It looks overall good, however, going thru the "Steps to reproduce" of the original issue still leads to the same error for me. Could you please have another look? |
|
Hey @fatadel, good catch - the original fix only handled the proxy's own host check but missed that esbuild itself started validating the I've pushed a fix that rewrites the |
|
The issue is indeed resolved now 🎉 Thanks for your PR, @ojuschugh1! LGTM. I have only one nit comment though. The variable name |
80d512e to
3b8da27
Compare
|
Done :D |
|
Thanks for your contribution, @ojuschugh1! |
This PR fixes #5865