We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7d06d5 commit cd64c61Copy full SHA for cd64c61
packages/react-dev-utils/WebpackDevServerUtils.js
@@ -56,6 +56,7 @@ function prepareUrls(protocol, host, port) {
56
lanUrlForConfig = address.ip();
57
if (lanUrlForConfig) {
58
// Check if the address is a private ip
59
+ // https://en.wikipedia.org/wiki/Private_network#Private_IPv4_address_spaces
60
if (
61
/^10[.]|^172[.](1[6-9]|2[0-9]|3[0-1])[.]|^192[.]168[.]/.test(
62
lanUrlForConfig
0 commit comments