简体   繁体   English

清单'https://www.example.com/manifest.json'不是http 200

[英]Manifest 'https://www.example.com/manifest.json' is not http 200

I am trying to create progressive app for my website. 我正在尝试为我的网站创建渐进式应用程序。 I created the manifest.json file and uploaded in server. 我创建了manifest.json文件并上传到服务器中。 Then I gave a link for the manifest file in my home page. 然后,我在主页上提供了清单文件的链接。 The manifest file is proper but when i try to check it using my site url then its giving an error as "Manifest ' https://www.example.com/manifest.json ' is not http 200" 清单文件是正确的,但是当我尝试使用我的网站网址对其进行检查时,它给出的错误为“清单' https://www.example.com/manifest.json '不是http 200”

you probably need to configure the application/json MIME type in your web server. 您可能需要在Web服务器中配置application / json MIME类型。 It is probably blocked by default for security reasons. 由于安全原因,默认情况下它可能被阻止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM