Skip to content

Commit

Permalink
Added otf (font/opentype) to MIMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
kardan committed Sep 30, 2011
1 parent 29d15d5 commit 4e6f871
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mochiweb_mime.erl
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ from_extension(".webp") ->
"image/web";
from_extension(".woff") ->
"application/x-font-woff";
from_extension(".otf") ->
"font/opentype";
from_extension(_) ->
undefined.

Expand Down

0 comments on commit 4e6f871

Please sign in to comment.