diff --git a/web/src/lib/utils/file-uploader.ts b/web/src/lib/utils/file-uploader.ts index 4f7bc07b5e..774f3ac54f 100644 --- a/web/src/lib/utils/file-uploader.ts +++ b/web/src/lib/utils/file-uploader.ts @@ -88,7 +88,7 @@ export const fileUploadHandler = async ( sharedKey: string | undefined = undefined, ) => { const iterable = { - files: files.filter((file) => extensions.some((ext) => file.name.endsWith(ext)))[Symbol.iterator](), + files: files.filter((file) => extensions.some((ext) => file.name.toLowerCase().endsWith(ext)))[Symbol.iterator](), async *[Symbol.asyncIterator]() { for (const file of this.files) {