Hi friends,
We want to expose two files apple-app-site-association and assetlinks.json.
Both should appear under www.website-name.com/.well-known/
How we can achieve it?
We already used hooks in custom app like below and return the context.
website_route_rules = [
{"from_route": "/.well-known/assetlinks.json", "to_route": "android"},
{"from_route": "/.well-known/apple-app-site-association", "to_route": "ios"}
]
But issue is that both files should be content-type/json. But by this way both are plain text. This creates issue for website verification for deep linking.
Can anyone help how to expose these two files as json.
Is there a way using nginx? if yes then please can you help?