diff --git a/config/nginx.conf b/config/nginx.conf index f7253465..5dc69b2f 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -21,5 +21,9 @@ server { expires 1w; add_header Cache-Control "public, no-transform"; } + + location /apple-app-site-association { + default_type application/json; + } } diff --git a/public/.well-known/assetlinks.json b/public/.well-known/assetlinks.json new file mode 100644 index 00000000..0eb37bf0 --- /dev/null +++ b/public/.well-known/assetlinks.json @@ -0,0 +1,12 @@ +[ + { + "relation": ["delegate_permission/common.handle_all_urls"], + "target": { + "namespace": "android_app", + "package_name": "io.element.android.x.debug", + "sha256_cert_fingerprints": [ + "B0:B0:51:DC:56:5C:81:2F:E1:7F:6F:3E:94:5B:4D:79:04:71:23:AB:0D:A6:12:86:76:9E:B2:94:91:97:13:0E" + ] + } + } +] diff --git a/public/apple-app-site-association b/public/apple-app-site-association new file mode 100644 index 00000000..b27b5c71 --- /dev/null +++ b/public/apple-app-site-association @@ -0,0 +1,15 @@ +{ + "applinks": { + "apps": [], + "details": [ + { + "appIDs": [ + "7J4U792NQT.io.element.elementx", + "7J4U792NQT.io.element.elementx.nightly", + "7J4U792NQT.io.element.elementx.pr" + ], + "paths": ["*"] + } + ] + } +}