Skip to content

Commit

Permalink
Merge pull request #361 from david-poindexter/remove-woff-support
Browse files Browse the repository at this point in the history
Remove support for `eot`, `otf`, `woff`, and update mime type for `woff2`
  • Loading branch information
david-poindexter authored Dec 29, 2023
2 parents 487ab80 + ae51bae commit 6fef6cf
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions manifest.dnn
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,10 @@
</staticContent>
</node>
<node path="/configuration/system.webServer/staticContent" action="update" key="fileExtension" collision="ignore">
<remove fileExtension=".eot" />
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
<remove fileExtension=".otf" />
<mimeMap fileExtension=".otf" mimeType="font/otf" />
<remove fileExtension=".svg" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="font/x-woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />
</node>
</nodes>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion partials/_includes.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
var types = new Dictionary<string, string>();
types.Add("woff2", "font/woff2");
types.Add("woff", "font/woff");
var defaultPage = (CDefault)this.Page;
Expand Down
Binary file removed src/fonts/OpenSans-Bold.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-BoldItalic.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-ExtraBold.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-ExtraBoldItalic.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-Italic.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-Light.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-LightItalic.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-Regular.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-SemiBold.woff
Binary file not shown.
Binary file removed src/fonts/OpenSans-SemiBoldItalic.woff
Binary file not shown.

0 comments on commit 6fef6cf

Please sign in to comment.