We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bug描述 执行cml dev后自动打开的preview.html页面使用了require('ip').address()的方式获取ip,但是这个ip并不一定是开发者需要的ip。 开发者需要的ip应该是和手机wifi在同一个网络中的那个ip地址,当用户有多张网卡的时候,require('ip').address()返回的很可能不是用户想要的那个网卡的地址。
复现bug的步骤
问题截图
编译环境信息
运行环境信息
The text was updated successfully, but these errors were encountered:
欢迎能提供解决方案和我们一起共建
Sorry, something went wrong.
tcp/ip协议中,专门保留了三个IP地址区域作为私有地址,其地址范围如下 10.0.0.0/8:10.0.0.0~10.255.255.255 172.16.0.0/12:172.16.0.0~172.31.255.255 192.168.0.0/16:192.168.0.0~192.168.255.255 绝大部分都是 192,所以针对这个问题,就很好办了, 最后再加一个IP配置项,这样就够灵活和方便
No branches or pull requests
bug描述
执行cml dev后自动打开的preview.html页面使用了require('ip').address()的方式获取ip,但是这个ip并不一定是开发者需要的ip。
开发者需要的ip应该是和手机wifi在同一个网络中的那个ip地址,当用户有多张网卡的时候,require('ip').address()返回的很可能不是用户想要的那个网卡的地址。
复现bug的步骤
问题截图
编译环境信息
运行环境信息
The text was updated successfully, but these errors were encountered: