Add HEIC and TIF image extensions to files endpoint
This commit is contained in:
1 parent
4082f1fdb8
commit
07c27bf1bb
1 file changed
+5
@@ -303,6 +303,11 @@ pub fn is_image_or_video(path: &Path) -> bool {
|
||||
|| extension == "mov"
|
||||
|| extension == "nef"
|
||||
|| extension == "webp"
|
||||
|| extension == "tiff"
|
||||
|| extension == "tif"
|
||||
|| extension == "heif"
|
||||
|| extension == "heic"
|
||||
|| extension == "avif"
|
||||
}
|
||||
|
||||
pub fn is_valid_full_path<P: AsRef<Path> + Debug + AsRef<std::ffi::OsStr>>(
|
||||
|
||||
Reference in new issue
Block a user