Skip to content

Commit 864aff3

Browse files
waleedlatif1claude
andcommitted
fix(files): add new image extensions to EXTENSION_TO_MIME map
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 7377716 commit 864aff3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

apps/sim/lib/uploads/utils/file-utils.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ const EXTENSION_TO_MIME: Record<string, string> = {
191191
gif: 'image/gif',
192192
webp: 'image/webp',
193193
svg: 'image/svg+xml',
194+
bmp: 'image/bmp',
195+
tif: 'image/tiff',
196+
tiff: 'image/tiff',
197+
heic: 'image/heic',
198+
heif: 'image/heif',
199+
avif: 'image/avif',
200+
ico: 'image/x-icon',
194201

195202
// Documents
196203
pdf: 'application/pdf',

0 commit comments

Comments
 (0)