Skip to content

Commit

Permalink
MET-5757 Updating MediaType
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanaCMS committed Feb 13, 2024
1 parent 80a3a38 commit bcd0236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/eu/europeana/metis/schema/model/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public static MediaType getMediaType(String mimeType) {
result = VIDEO;
} else if (mimeType.startsWith("text/") || isApplicationMediaRepresentingText(mimeType)) {
result = TEXT;
} else if (mimeType.startsWith("model/")){
result = THREE_D;
} else {
result = OTHER;
}
Expand Down

0 comments on commit bcd0236

Please sign in to comment.