fix(react-scripts): do not set allowedHosts if undefined
Fixes #11762.
urls.lanUrlForConfig may be undefined, if the HOST is set, the IP address is not private, or the IP address retrieval has failed.
TEST PLAN: manual testing with the steps to reproduce #11762.
Can this please be merged so projects can use cra ^5 and proxying?
Could this please get reviewed and merged? The issue currently prevents us from updating CRA.
@iansu @mrmckeb anything preventing this PR from being merged?
What is blocking this fix? Just encountered this bug that was reported in 2021.
What is blocking this fix? Just encountered this bug that was reported in 2021.
Yeah very good question