feat(network): 全局启用 HTTP 明文流量支持
- 修改 network_security_config.xml 允许所有 HTTP 协议访问 - 移除对 HTTP 访问的域名限制
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Thu Apr 30 18:43:22 CST 2026
|
#Wed May 06 11:08:36 CST 2026
|
||||||
stageCount=27
|
stageCount=27
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.11
|
baseVersion=15.11
|
||||||
publishVersion=15.11.26
|
publishVersion=15.11.26
|
||||||
buildCount=15
|
buildCount=16
|
||||||
baseBetaVersion=15.11.27
|
baseBetaVersion=15.11.27
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<domain includeSubdomains="true">winboll.cc</domain> <!-- 你的目标域名 -->
|
<domain includeSubdomains="true">winboll.cc</domain> <!-- 你的目标域名 -->
|
||||||
<domain includeSubdomains="true">www.winboll.cc</domain> <!-- 其他需要兼容的域名 -->
|
<domain includeSubdomains="true">www.winboll.cc</domain> <!-- 其他需要兼容的域名 -->
|
||||||
</domain-config>
|
</domain-config>
|
||||||
<!-- 默认允许HTTPS(全局生效) -->
|
<!-- 全局允许HTTP明文请求(支持网站HTTP协议访问) -->
|
||||||
<base-config cleartextTrafficPermitted="false">
|
<base-config cleartextTrafficPermitted="true">
|
||||||
<trust-anchors>
|
<trust-anchors>
|
||||||
<certificates src="system" />
|
<certificates src="system" />
|
||||||
</trust-anchors>
|
</trust-anchors>
|
||||||
|
|||||||
Reference in New Issue
Block a user