High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server) fix correct MIME type for Nikon NEF (#1060)
Alexdb34f2f7fd40
diff --git a/server/apps/immich/src/config/asset-upload.config.ts b/server/apps/immich/src/config/asset-upload.config.tsindex b399e9352a..fef4de210f 100644--- a/server/apps/immich/src/config/asset-upload.config.ts+++ b/server/apps/immich/src/config/asset-upload.config.ts@@ -23,7 +23,9 @@ function fileFilter(req: Request, file: any, cb: any) {return cb(new UnauthorizedException());}if (- file.mimetype.match(/\/(jpg|jpeg|png|gif|mp4|x-msvideo|quicktime|heic|heif|dng|x-adobe-dng|webp|tiff|3gpp|nef)$/)+ file.mimetype.match(+ /\/(jpg|jpeg|png|gif|mp4|x-msvideo|quicktime|heic|heif|dng|x-adobe-dng|webp|tiff|3gpp|nef|x-nikon-nef)$/,+ )) {cb(null, true);} else {