Document how to host Apple's apple-app-association files
Is your feature request related to a problem? Please describe.
Amplify requires some redirects to correctly serve a well known file for Apple's App Store processes, the apple-app-association.json file.
Describe the solution you'd like
We need to document how to correctly serve that file with Amplify. One of our customers provided the right information here: https://github.com/aws-amplify/amplify-hosting/issues/1983#issuecomment-881549611
Related to https://github.com/aws-amplify/amplify-hosting/issues/1927
It seems that Amplify has a hidden rewrite rule that adds a '/' to any URL without a file extension.
e.g. /foo/bar -> /foo/bar/
I tried two types of solution this [ { "source": "/.well-known/apple-app-site-association", "target": "/apple-app-site-association", "status": "200", "condition": null } ] and this [ { "source": "/.well-known/apple-app-site-association", "target": "/.well-known/apple-app-site-association.json", "status": "200", "condition": null } ] it's now working on Ionic App Can someone help me?
I tried two types of solution this [ { "source": "/.well-known/apple-app-site-association", "target": "/apple-app-site-association", "status": "200", "condition": null } ] and this [ { "source": "/.well-known/apple-app-site-association", "target": "/.well-known/apple-app-site-association.json", "status": "200", "condition": null } ] it's now working on Ionic App Can someone help me?
Can I used in locally in my react.js project?