cloudroam
2025-03-13 c6adb1c42a76001de0978e99f73cd6f5678c685e
app/src/main/res/xml/network_security_config.xml
@@ -2,6 +2,11 @@
<network-security-config>
    <domain-config cleartextTrafficPermitted="true">
        <domain includeSubdomains="true">47.96.225.205</domain>
        <domain includeSubdomains="true">192.168.1.213</domain>
        <!-- 可添加其他域名或IP(如192.168.0.101) -->
<!--        如果本地服务使用自签名证书,需在 network_security_config.xml 中信任该证书:-->
<!--        <trust-anchors>-->
<!--            <certificates src="@raw/my_custom_cert"/> &lt;!&ndash; 证书放在 res/raw 目录 &ndash;&gt;-->
<!--        </trust-anchors>-->
    </domain-config>
</network-security-config>