Last active
August 29, 2015 14:09
-
-
Save gothandy/382dfc2c1bb0d3841c33 to your computer and use it in GitHub Desktop.
Adding web fonts to an Azure Website. Extensions .eot and .woff added via a transform. You need to make changes to both files for this transform to work. Always preview transform to validate.
This file contains 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"?> | |
<!-- | |
For more information on how to configure your ASP.NET application, please visit | |
http://go.microsoft.com/fwlink/?LinkId=169433 | |
--> | |
<configuration> | |
<system.webServer> | |
<staticContent></staticContent> | |
</system.webServer> | |
</configuration> |
This file contains 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"?> | |
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<system.webServer> | |
<staticContent> | |
<remove fileExtension=".eot" xdt:Transform="Insert" /> | |
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" xdt:Transform="Insert" /> | |
<mimeMap fileExtension=".woff" mimeType="application/font-woff" xdt:Transform="Insert" /> | |
</staticContent> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment