Add mime type fallback for exr

This commit is contained in:
Space
2022-07-30 09:49:16 +00:00
parent f943373ead
commit 5e93b705ff

View File

@@ -234,6 +234,10 @@ public class Utils {
mimeType = "image/tga";
}
if (mimeType == null && file.endsWith(".exr")) { // fallback for EXR
mimeType = "image/x-exr";
}
return mimeType;
}