应用签名联网验证模块完成。
This commit is contained in:
11
libappbase/src/main/res/xml/network_security_config.xml
Normal file
11
libappbase/src/main/res/xml/network_security_config.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<domain-config cleartextTrafficPermitted="true">
|
||||
<!-- 原有配置:允许 winboll.cc 及其子域名的明文流量 -->
|
||||
<domain includeSubdomains="true">winboll.cc</domain>
|
||||
<!-- 新增:允许 localhost 所有端口(* 匹配任意端口) -->
|
||||
<domain includeSubdomains="true">localhost</domain>
|
||||
<domain includeSubdomains="true">127.0.0.1</domain> <!-- 兼容IP形式的本地地址 -->
|
||||
</domain-config>
|
||||
</network-security-config>
|
||||
|
||||
Reference in New Issue
Block a user