Tuesday, 20 December 2016

Console 404 error resolved for(.json, .woff, .woff2)

Put this contents in web config.
<staticContent>
      <mimeMap fileExtension=".json" mimeType="Content-Type: application/json" />
      <mimeMap fileExtension=".woff" mimeType="Content-Type: application/font-woff" />
      <mimeMap fileExtension=".woff2" mimeType="Content-Type: application/font-woff2" />
    </staticContent>

No comments:

Post a Comment