diff --git a/src/user/user_util.cc b/src/user/user_util.cc index 0099dbcc..d9ad6cb6 100644 --- a/src/user/user_util.cc +++ b/src/user/user_util.cc @@ -967,6 +967,8 @@ std::string mjuu_extToContentType(std::string_view filename) { return "model/vnd.mujoco.msh"; } else if (!strcasecmp(ext.c_str(), ".png")) { return "image/png"; + } else if (!strcasecmp(ext.c_str(), ".ktx")) { + return "image/ktx"; } else { return ""; }