Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Woff2 files did not load for me #3

Open
Jogai opened this issue Feb 15, 2019 · 0 comments
Open

Woff2 files did not load for me #3

Jogai opened this issue Feb 15, 2019 · 0 comments

Comments

@Jogai
Copy link

Jogai commented Feb 15, 2019

Fontawesome did not load for me so I added this to system.webServer:

   <staticContent>
      <remove fileExtension=".woff" />
      <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
      <remove fileExtension=".woff2" />
      <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
      <remove fileExtension=".ttf" />
      <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
      <remove fileExtension=".svg" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
      <remove fileExtension=".map" />
      <mimeMap fileExtension=".map" mimeType="text/plain" />
      <remove fileExtension=".msg" />
      <mimeMap fileExtension=".msg" mimeType="application/vnd.ms-outlook" />
      <remove fileExtension=".css" />
      <mimeMap fileExtension=".css" mimeType="text/css; charset=utf-8" />
      <!-- JavaScript -->
      <!-- https://html.spec.whatwg.org/multipage/scripting.html#scriptingLanguages -->
      <remove fileExtension=".js" />
      <mimeMap fileExtension=".js" mimeType="text/javascript; charset=utf-8" />
    </staticContent>

And that solved the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant