Merge branch 'exr-fallback-mime' into 'master'

Add mime type fallback for exr

See merge request sheepitrenderfarm/client!152
This commit is contained in:
harlekin
2022-07-30 10:21:24 +00:00

View File

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