summaryrefslogtreecommitdiff
path: root/wipfel-droid/app/src/main/res/xml/network_security_config.xml
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-10 09:12:35 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-10 09:12:35 +0100
commit0b0663e0c9dc664f35ffead3b395ffd2009fd98c (patch)
treef9e10437ebe7e13e527ce1a6a2b456c105bcc5c0 /wipfel-droid/app/src/main/res/xml/network_security_config.xml
parent02546370ec4458eef59a8f636fe05b57961d56ab (diff)
parent31a47fc4393856a0a0380b2fdcf79f9dac72ad56 (diff)
Merge branch 'wasm-spike'
# Conflicts: # crates/gipfel-core/src/metadata.rs
Diffstat (limited to 'wipfel-droid/app/src/main/res/xml/network_security_config.xml')
-rw-r--r--wipfel-droid/app/src/main/res/xml/network_security_config.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/wipfel-droid/app/src/main/res/xml/network_security_config.xml b/wipfel-droid/app/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..2434fb8
--- /dev/null
+++ b/wipfel-droid/app/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<network-security-config>
+ <!-- the bundled site is served from a loopback HTTP server so that
+ fetch(), WASM streaming and (later) service workers behave like a
+ real origin; nothing else may talk cleartext -->
+ <domain-config cleartextTrafficPermitted="true">
+ <domain includeSubdomains="false">127.0.0.1</domain>
+ <domain includeSubdomains="false">localhost</domain>
+ </domain-config>
+ <base-config cleartextTrafficPermitted="false" />
+</network-security-config>