Skip to content

Commit 6739d26

Browse files
committed
qwe
1 parent 5d16846 commit 6739d26

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

nginx/pecha.conf.template

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ server {
1010
root /usr/share/nginx/html;
1111
index index.html;
1212

13+
# Apple Universal Links association file (must be served as application/json)
14+
location = /.well-known/apple-app-site-association {
15+
default_type application/json;
16+
try_files $uri =404;
17+
include /etc/nginx/security-headers.conf;
18+
}
19+
1320
# App deep link landing page — serve without trailing-slash redirect
1421
location = /open {
1522
try_files /open/index.html =404;

public/.well-known/apple-app-site-association

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,20 @@
33
"apps": [],
44
"details": [
55
{
6-
"appID": "R523566J54.org.pecha.app",
7-
"paths": ["/open"]
6+
"appIDs": [
7+
"R523566J54.org.pecha.app",
8+
"R523566J54.org.pecha.app.dev",
9+
"R523566J54.org.pecha.app.staging"
10+
],
11+
"components": [
12+
{
13+
"/": "/open"
14+
},
15+
{
16+
"/": "/open/*"
17+
}
18+
]
819
}
920
]
1021
}
11-
}
22+
}

0 commit comments

Comments
 (0)