15 lines
632 B
XML
15 lines
632 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<network-security-config>
|
|
<domain-config cleartextTrafficPermitted="true">
|
|
<domain includeSubdomains="true">192.168.1.110</domain>
|
|
<domain includeSubdomains="true">127.0.0.1</domain>
|
|
<domain includeSubdomains="true">localhost</domain>
|
|
<!-- 添加你的服务器域名 -->
|
|
</domain-config>
|
|
<!-- 允许所有明文流量(测试用,生产环境不推荐) -->
|
|
<base-config cleartextTrafficPermitted="true">
|
|
<trust-anchors>
|
|
<certificates src="system"/>
|
|
</trust-anchors>
|
|
</base-config>
|
|
</network-security-config> |