Issue
After deploy my angular 7 project (PWA) got this error. any solution?
Uncaught (in promise) Error: Manifest fetch failed! (status: 404) at Driver. (ngsw-worker.js:2368) at Generator.next () at fulfilled (ngsw-worker.js:1780)
Solution
Adding the below line in the web.config solved the issue.
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
Answered By - Karthikeyan Vellingiri
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.