Skip to content

Commit

Permalink
Update MimeMappings.java
Browse files Browse the repository at this point in the history
add mapping mjs to text/javascript
  • Loading branch information
dlemaignent authored Dec 21, 2023
1 parent a42f549 commit 5f91518
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ static final class DefaultMimeMappings extends MimeMappings {
mappings.add("jpeg", "image/jpeg");
mappings.add("jpg", "image/jpeg");
mappings.add("js", "text/javascript");
mappings.add("mjs", "text/javascript");
mappings.add("json", "application/json");
mappings.add("otf", "font/otf");
mappings.add("pdf", "application/pdf");
Expand Down

0 comments on commit 5f91518

Please sign in to comment.