Skip to content

Commit 70507f3

Browse files
committed
avniproject/avni-server#829 | 'jpeg' as valid image file name extension
1 parent 4b6db09 commit 70507f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/utils/helpers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export function isAudioOrVideo(fileExtension: string) {
119119
}
120120

121121
export function isImage(fileExtension: string) {
122-
const imageFileExtensions = [".png", ".jpg"];
122+
const imageFileExtensions = [".png", ".jpg", ".jpeg"];
123123
return matchesFileExtension(fileExtension, imageFileExtensions);
124124
}
125125

0 commit comments

Comments
 (0)