Skip to content

Commit

Permalink
avniproject/avni-server#829 | 'jpeg' as valid image file name extension
Browse files Browse the repository at this point in the history
  • Loading branch information
1t5j0y committed Dec 18, 2024
1 parent 4b6db09 commit 70507f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/utils/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function isAudioOrVideo(fileExtension: string) {
}

export function isImage(fileExtension: string) {
const imageFileExtensions = [".png", ".jpg"];
const imageFileExtensions = [".png", ".jpg", ".jpeg"];
return matchesFileExtension(fileExtension, imageFileExtensions);
}

Expand Down

0 comments on commit 70507f3

Please sign in to comment.