Skip to content

Commit cd64c61

Browse files
authored
Update WebpackDevServerUtils.js
1 parent a7d06d5 commit cd64c61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/react-dev-utils/WebpackDevServerUtils.js

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ function prepareUrls(protocol, host, port) {
5656
lanUrlForConfig = address.ip();
5757
if (lanUrlForConfig) {
5858
// Check if the address is a private ip
59+
// https://en.wikipedia.org/wiki/Private_network#Private_IPv4_address_spaces
5960
if (
6061
/^10[.]|^172[.](1[6-9]|2[0-9]|3[0-1])[.]|^192[.]168[.]/.test(
6162
lanUrlForConfig

0 commit comments

Comments
 (0)