manager: Allow http for localhost

This commit is contained in:
weishu
2024-02-24 11:20:14 +08:00
parent 406070914a
commit a395b1011e
2 changed files with 7 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/Theme.KernelSU"
tools:targetApi="33">
<activity

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">127.0.0.1</domain>
</domain-config>
</network-security-config>