Last active
September 24, 2015 16:11
-
-
Save alexanderbartels/2063e8ad80c283b9a87d to your computer and use it in GitHub Desktop.
web.xml to with mime type for web fonts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |
<display-name>Web-Fonts</display-name> | |
<!-- web fonts --> | |
<mime-mapping> | |
<extension>eot</extension> | |
<mime-type>application/vnd.ms-fontobject</mime-type> | |
</mime-mapping> | |
<mime-mapping> | |
<extension>ttf</extension> | |
<mime-type>application/font-sfnt</mime-type> | |
</mime-mapping> | |
<mime-mapping> | |
<extension>svg</extension> | |
<mime-type>image/svg+xml</mime-type> | |
</mime-mapping> | |
<mime-mapping> | |
<extension>woff</extension> | |
<mime-type>application/font-woff</mime-type> | |
</mime-mapping> | |
<welcome-file-list> | |
<welcome-file>index.html</welcome-file> | |
</welcome-file-list> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment