| | |
| | | <network-security-config> |
| | | <domain-config cleartextTrafficPermitted="true"> |
| | | <domain includeSubdomains="true">47.96.225.205</domain> |
| | | <domain includeSubdomains="true">192.168.1.213</domain> |
| | | <domain includeSubdomains="true">192.168.1.198</domain> |
| | | <domain includeSubdomains="true">192.168.1.199</domain> |
| | | <domain includeSubdomains="true">192.168.1.201</domain> |
| | | <!-- 可添加其他域名或IP(如192.168.0.101) --> |
| | | <!-- 如果本地服务使用自签名证书,需在 network_security_config.xml 中信任该证书:--> |
| | | <!-- <trust-anchors>--> |
| | | <!-- <certificates src="@raw/my_custom_cert"/> <!– 证书放在 res/raw 目录 –>--> |
| | | <!-- </trust-anchors>--> |
| | | </domain-config> |
| | | </network-security-config> |