Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit d5d03777
authored
2025-12-12 16:45:04 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
配置全部允许明文传输权限,解决菁优图片无法显示的问题
1 parent
fd2a7435
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
android/app/src/main/res/xml/network_security_config.xml
android/app/src/main/res/xml/network_security_config.xml
View file @
d5d0377
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- 手动增加的安全配置,明文传输权限,允许http访问 -->
<!-- 手动增加的安全配置,明文传输权限,允许http访问 -->
<network-security-config>
<network-security-config>
<base-config
cleartextTrafficPermitted=
"true"
>
<trust-anchors>
<certificates
src=
"system"
/>
</trust-anchors>
</base-config>
<!--
<domain-config cleartextTrafficPermitted="true">
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="false">127.0.0.1</domain>
<domain includeSubdomains="false">127.0.0.1</domain>
<domain includeSubdomains="false">localhost</domain>
<domain includeSubdomains="false">localhost</domain>
...
@@ -11,5 +17,7 @@
...
@@ -11,5 +17,7 @@
<domain includeSubdomains="false">localdev.banxiaoer.net</domain>
<domain includeSubdomains="false">localdev.banxiaoer.net</domain>
<domain includeSubdomains="false">appdev-th.banxiaoer.net</domain>
<domain includeSubdomains="false">appdev-th.banxiaoer.net</domain>
<domain includeSubdomains="false">appdev-xj.banxiaoer.net</domain>
<domain includeSubdomains="false">appdev-xj.banxiaoer.net</domain>
<domain includeSubdomains="false">img.jyeoo.net</domain>
</domain-config>
</domain-config>
-->
</network-security-config>
</network-security-config>
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment