我正在尝试为我的应用程序设置通用的应用程序链接,并尝试将apple- app -site-association上传到服务器的"/“和"/.well-known”位置,但当我导航到它时,我得到了一个404错误。
mime类型不是application/json,当我尝试创建它时,它总是恢复为text类型,而不是application/json类型。
我没有权限访问服务器的Plesk上的虚拟主机/Apache设置,也没有权限访问etc/sites可用于设置file.This的内容类型是我的参考https://gist.github.com/anhar/6d50c023f442fb2437e1#modifying-the-content-type。
我的文件的内容是
{
"applinks": {
"apps": [],
"details": [
{
"appID": "XXXXX.com.domain.appname",
"paths": [
"*"
]
}
]
}
}请帮帮忙。
https://stackoverflow.com/questions/41255497
复制相似问题