summaryrefslogtreecommitdiff
path: root/gipfel-droid/app/src/main/res/xml/network_security_config.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gipfel-droid/app/src/main/res/xml/network_security_config.xml')
-rw-r--r--gipfel-droid/app/src/main/res/xml/network_security_config.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/gipfel-droid/app/src/main/res/xml/network_security_config.xml b/gipfel-droid/app/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..2434fb8
--- /dev/null
+++ b/gipfel-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>