[英]Angular Universal Links (Android / IOS) Asset Linking and apple-app-site-association
Hey I am having some trouble getting my apple app association file to display correctly.嘿,我在让我的苹果应用程序关联文件正确显示时遇到了一些麻烦。 When you go to the url www.example.com/apple-app-site-association it downloads the file instead of displaying it on the webpage.当您从 go 到 url www.example.com/apple-app-site-association 时,它会下载文件而不是在网页上显示它。
any suggestions on how this can be handled in Angular?关于如何在 Angular 中处理此问题的任何建议?
Thanks!!谢谢!!
My Angular App is deployed on Azure.我的 Angular 应用程序部署在 Azure 上。 The following line of code in web.config has done the deep-linking trick for me and it opens in browser. web.config 中的以下代码行为我完成了深度链接技巧,并在浏览器中打开。
<staticContent>
<mimeMap fileExtension="." mimeType="application/json" />
</staticContent>
I hope it helps.我希望它有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.