Skip to content

Commit

Permalink
support livp photos
Browse files Browse the repository at this point in the history
  • Loading branch information
oldwang12 committed Apr 9, 2024
1 parent 933b6b6 commit fbf28b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/utils/mime-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const image: Record<string, string[]> = {
'.gif': ['image/gif'],
'.heic': ['image/heic'],
'.heif': ['image/heif'],
'.livp': ['image/livp'],
'.hif': ['image/hif'],
'.iiq': ['image/iiq', 'image/x-phaseone-iiq'],
'.insp': ['image/jpeg'],
Expand Down

1 comment on commit fbf28b9

@oldwang12
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uploading photos in the format of livp through the iOS immich app will result in an error on the server.

[Nest] 1  - 04/08/2024, 1:22:53 PM   ERROR [AssetService] Unsupported file type IMG_4372.livp

I found that the code does not have the livp format here. Can you add the livp format here?

Please sign in to comment.