Reputation: 1237
I am getting a 404 error when loading my apple-app-site-association and I have no idea why... Here's how my file looks like:
{
"applinks": {
"apps": [],
"details": [
{
"appIDs": [ "ABCDE12345.com.example.app" ],
"components": [
{
"/": "*",
"comment": "Matches any URL"
}
]
},
{
"appID": "ABCDE12345.com.example.app",
"paths": [ "*" ]
}
]
}
}
The file is located under root /.well-known/apple-app-site-association
. If I try to access to it through route, I'm always getting a 404 error.
Does anyone know why? I'd say I'm missing some web configuration, maybe?
Upvotes: 0
Views: 1348
Reputation: 1237
I've found that I was missing the type for the files without any extension.
<mimeMap fileExtension="." mimeType="application/json" />
Ref.: https://medium.com/@barsh/my-first-date-with-ios-universal-links-90dfabc88bb8
Upvotes: 2