You've already forked immich
							
							
				mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 00:18:28 +02:00 
			
		
		
		
	fix(web): cannot upload file with uppercase extension (#3374)
* fix(web): cannot upload file with uppercase extension * actual fix * remove console log
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user