Manifest is not valid JSON. Line: 1, column: 1, Unexpected token

前端 未结 10 1288
小鲜肉
小鲜肉 2020-12-09 08:31

keep getting this error: \"Manifest is not valid JSON. Line: 1, column: 1, Unexpected token.\" i don\'t understand what the issue is with my code? here is what i have so f

10条回答
  •  粉色の甜心
    2020-12-09 08:53

    The browser cannot find the manifest because the extension (MIME type). In Chrome DevTools > Network > Headers > Content-Type, the content-type of the manifest must match the actual manifest file extension (.json or .webmanifest). To resolve the 404 error, you need to declare the file type in web.config:

    
      
      
    
    

提交回复
热议问题