Skip to content

Commit

Permalink
Merge pull request #3404 from rjaros/3.x
Browse files Browse the repository at this point in the history
Support correct mime type for .wasm files fix #3403
  • Loading branch information
jknack committed Apr 16, 2024
2 parents 1c7c381 + f0c854d commit ece690f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jooby/src/main/java/io/jooby/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,8 @@ static boolean matches(@NonNull String expected, @NonNull String contentType) {
return new MediaType("application/x-cabinet", null);
case "gif":
return new MediaType("image/gif", null);
case "wasm":
return new MediaType("application/wasm", null);
default:
return octetStream;
}
Expand Down

0 comments on commit ece690f

Please sign in to comment.