Skip to content

Commit

Permalink
unify sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
ayykamp committed Jan 28, 2025
1 parent 2323e70 commit 4c4cee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/utils/mime-types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ describe('mimeTypes', () => {
{ mimetype: 'image/heif', extension: '.heif' },
{ mimetype: 'image/hif', extension: '.hif' },
{ mimetype: 'image/iiq', extension: '.iiq' },
{ mimetype: 'image/jp2', extension: '.jp2' },
{ mimetype: 'image/jpeg', extension: '.jpe' },
{ mimetype: 'image/jpeg', extension: '.jpeg' },
{ mimetype: 'image/jpeg', extension: '.jpg' },
{ mimetype: 'image/jp2', extension: '.jp2' },
{ mimetype: 'image/jxl', extension: '.jxl' },
{ mimetype: 'image/k25', extension: '.k25' },
{ mimetype: 'image/kdc', extension: '.kdc' },
Expand Down
2 changes: 1 addition & 1 deletion server/src/utils/mime-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ const image: Record<string, string[]> = {
'.heif': ['image/heif'],
'.hif': ['image/hif'],
'.insp': ['image/jpeg'],
'.jp2': ['image/jp2'],
'.jpe': ['image/jpeg'],
'.jpeg': ['image/jpeg'],
'.jpg': ['image/jpeg'],
'.jp2': ['image/jp2'],
'.jxl': ['image/jxl'],
'.png': ['image/png'],
'.svg': ['image/svg'],
Expand Down

0 comments on commit 4c4cee5

Please sign in to comment.